File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes HSQL - data not persisting in table? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "HSQL - data not persisting in table?" Watch "HSQL - data not persisting in table?" New topic
Author

HSQL - data not persisting in table?

Vladislav Simovic
Ranch Hand

Joined: Feb 03, 2011
Posts: 37
I am total newbie with HSQL, so expect a lot of questions in the next couple of days. Any and all help is welcome. Here is my problem - I have written this piece of code:



When i execute this code, i get value 5 printed and thats ok. But when i execute it second time, it should print 2 values 5. But instead it prints just one values 5. Its like previous insert wasnt executed permanently. I mean if i execute ten times this code, shouldnt the database hold ten rows with value 5? What am i misssing?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HSQL - data not persisting in table?