Home > Hibernate, Mini-tips > ‘Table not found in statement’ utilizando hsqldb 2.2.5 con hibernate 3.x

‘Table not found in statement’ utilizando hsqldb 2.2.5 con hibernate 3.x

November 17, 2011 Leave a comment Go to comments

Fixed the ‘Table not found in statement’ problem adding to hibernate.cfg.xml

 <property name="hbm2ddl.auto">create</property>

 

hibernate.hbm2ddl.auto Automatically validates or exports schema DDL to the database when the SessionFactory is created. With create-drop, the database schema will be dropped when the SessionFactoryis closed explicitly.
e.g. validate | update | create | create-drop

Source: Hibernate configuration

Categories: Hibernate, Mini-tips
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: