I was working on a project which uses Spring, Jdbc, Jpa and HSQLDB.
It is meant to be executed as a batch program from command line with multi threaded support.
After a while, I noticed that my final few commits to the database is never captured properly by the database. After checking to see if my threads, jpa or spring context is closed properly, I finally figured out it is because I never shutdown my HSQLDB properly. Even though I am using it as a file based database, I must still issue a shutdown command.
For those of you trying to work with embedded database, do remember to shut it down when your program exits.
Hopes this kind reminder will safe you hours of debugging.
Tuesday, May 10, 2011
Remember to shutdown your database
Posted by
kokwai
at
Tuesday, May 10, 2011
0
comments
Labels: Technical Tips
Friday, December 31, 2010
Tuesday, October 12, 2010
wedding fever
Beautiful photo by Kim Cartmell on 10 Oct 10.
Posted by
kokwai
at
Tuesday, October 12, 2010
0
comments
Monday, August 30, 2010
Wednesday, May 26, 2010
Monday, May 10, 2010
Onwards and upwards
Really thought the zebra pulled her up from the water
Posted by
kokwai
at
Monday, May 10, 2010
0
comments
Monday, February 08, 2010
Collar stays
When I bought shirts, it sometimes comes with few pieces of small plastics strips. I always wondered what it was and thought it is some logos or branding for the shirt. Today I found out it is something known as collar stays.
Now if only someone will tell me how to use it.
Posted by
kokwai
at
Monday, February 08, 2010
2
comments
Subscribe to:
Posts (Atom)





