-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hsqldb doesn't create all the tables
PostPosted: Tue Jun 28, 2011 5:37 am 
Newbie

Joined: Tue Jun 28, 2011 5:26 am
Posts: 2
Hi!

I'm using a hsqldb for JUnit tests, however some of the tables are not created and sometimes I get a:
java.sql.SQLException: Table not found in statement [select this_.id as ...
exception.

My configuration file looks like this:

<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="connection.url">jdbc:hsqldb:hsql:bled</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>

<property name="connection.username">sa</property>
<property name="connection.password"></property>

<property name="connection.pool_size">0</property>
<property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>

<property name="show_sql">true</property>
<property name="format_sql">true</property>

<property name="hbm2ddl.auto">create-drop</property>
<property name="current_session_context_class">thread</property>

<property name="jdbc.batch_size">0</property>
<property name="connection.autocommit">true</property>

<!-- mapping classes -->

I did some searching on google, however, I couldn't find an acceptable solution.

Cheers! and thank you in advance!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.