-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate says its run sql sttmnt but nothing goes in hsqldb
PostPosted: Mon Nov 27, 2006 12:25 am 
Newbie

Joined: Sat Nov 25, 2006 9:05 am
Posts: 2
Location: Perth, Western Australia
Hi !
I'm having some problems with the example located under
hibernate3.2/docs/tutorial/src
I can get it working with a mysql database with no problems, but i want to get hibernate working with a hypersonic sql database it creates as needed..

whenever i run the example configured to use a hypersonic db with the connection url jdbc:hsqldb:file:./db
hibernate says it runs the sql statements to create the tables and insert the row(s) however the hsqldb only has 2 files db.properties and db.log and neither one seems to contain the data or table structure in it (i looked!).
i've tried changing hbm2ddl.auto from create to update but i still get the same problem of nothing going into the database..
Any thoughts on what might be wrong?
Thanks
James


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 28, 2006 8:00 am 
Senior
Senior

Joined: Mon Oct 23, 2006 5:12 am
Posts: 141
Location: Galicia, Spain
I think you have problems with your HSQLDB installation (permissions issue?).

Try to insert some rows manually and see if it works.

_________________
andresgr (--don't forget to rate)


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

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.