Tuesday, May 10, 2011

Remember to shutdown your database

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.





Friday, December 31, 2010

Only Jackasses beg for treats


Only Jackasses beg for treats, originally uploaded by Suki♥!.

Tuesday, October 12, 2010

wedding fever


wedding fever., originally uploaded by Kim Cartmell.

Beautiful photo by Kim Cartmell on 10 Oct 10.

Monday, August 30, 2010

Dream home with dream pet

Wednesday, May 26, 2010

NIKE WRITE THE FUTURE - FULL LENGTH VERSION

Monday, May 10, 2010

Onwards and upwards


Onwards and upwards, originally uploaded by squacco.

Really thought the zebra pulled her up from the water

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.