Welcome Guest  |  Register  |  Login
Login Name Password
  Search  
  Index  | Recent Threads  | Unanswered Threads  | Who's Online  | Help


Quick Go »

No member browsing this thread
Thread Status: Active
Total posts in this thread: 13
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3450 times and has 12 replies Next Thread
Male peathal
Newbie




Joined: Dec 30, 2009
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: HSQL db

yes. Maybe that you use the identical property file?
[Feb 9, 2010 8:46:01 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male efinal
Newbie



China
Joined: Jan 4, 2011
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: HSQL db

i have the same problem. using:

javax.jdo.option.ConnectionURL=jdbc:hsqldb:file:mydb;ifexists=true;shutdown=true;

and after running persistent, no data (script) has been written in the mydb.script file

anybody knows why?
[Jan 4, 2011 9:22:34 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male efinal
Newbie



China
Joined: Jan 4, 2011
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: HSQL db

i got the point. after you run the sample, you get a file named

YOURDBNAME.script

in which, you get following line:

SET WRITE_DELAY 20

change it to:

SET WRITE_DELAY 0

then rerun the sample, you should get what you want! but for production environment, i guess we need a certain delay for writing data back to file.
[Jan 4, 2011 9:53:40 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread