2008-11-21 11:31:00,003 [main] INFO org.hibernate.tool.hbm2ddl.SchemaUpdate - Running hbm2ddl schema update
2008-11-21 11:31:00,003 [main] INFO org.hibernate.tool.hbm2ddl.SchemaUpdate - fetching database metadata
2008-11-21 11:31:00,007 [main] INFO org.hibernate.tool.hbm2ddl.SchemaUpdate - updating schema
2008-11-21 11:31:00,021 [main] INFO org.hibernate.tool.hbm2ddl.DatabaseMetadata - table not found: user_messages
2008-11-21 11:31:00,023 [main] INFO org.hibernate.tool.hbm2ddl.DatabaseMetadata - table not found: user_messages
2008-11-21 11:31:00,057 [main] INFO org.hibernate.tool.hbm2ddl.SchemaUpdate - schema update complete
That is what I see when I try running my Spring application. I have other entities that are binding just fine. I'm using the Spring AnnotationSessionFactoryBean.
What's happening is it is completely not writing the entity to the database, though it does write all of the other entities just fine. What can I do to correct this?
I tried setting hbm2ddl.auto = create, but that didn't do anything except drop 250 hand entered records... luckily I have a backup. What should I do?
|