Monthly Archives: April 2009

Groovy – Hype or Hope?

      No Comments on Groovy – Hype or Hope?

Last week I have attended a Java User Group meeting in Bloomington, MN. The speaker Mark Rausch made a solid case for Groovy as the gen-next application. He talked about how Java Scripting recognizes the “pain points” of the Java Developer community. Learning Groovy and using is not difficult at… Read more »

Hibernate Query Cache

      1 Comment on Hibernate Query Cache

Hibernate provides sophisticated caching mechanisms to improve the performance. Apart from First-level, Second-Level and query cache, Hibernate can be configured to make use of some open source cache solutions like EHCache or JBoss Cache etc. If your Hibernate query yields huge but similar results every time it is executed, it… Read more »

SQLGrammarException could not fetch initial value for increment generator

In the earlier versions of Hibernate, may be hibernate 2.x, if you use increment generator on a new table then you might get this error. If you really need to use the increment generator on the new table then you need to create a dummy row on that table. This… Read more »