-->
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: tutorial url connection used
PostPosted: Thu Apr 12, 2007 5:57 pm 
Newbie

Joined: Thu Mar 08, 2007 2:31 pm
Posts: 2
Probably a lot of people noticed that the example configuration with the following url never works unless you know how to work with hsqldb.
<property name="connection.url">jdbc:hsqldb:hsql://localhost</property>

Then I read the documentation and hsqldb supports the In-Process (Standalone) Mode which is recommended by hsqldb for testing environment. As described in the documentation, I tried,

<property name="connection.url">jdbc:hsqldb:file:testdb</property>

This will not persist anything between store to list. When the connection is closed everything is gone. After reading several other postings in different places I tried,

<property name="connection.url">jdbc:hsqldb:testdb</property>

Now, everything work fine I can go through the tutorial without any problem.

I think tutorial should recommend this way unless my work around works because of the bug in hsqldb or hibernate.


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.