Performance Zone is brought to you in partnership with:

Computer Science Engineer having more than 16 years of experience, predominantly in the Enterprise Product Development Space. Professionally started with LabWindows, then to X-Windows/Motif and landed in using Java. Primitive experience in VC++ and .Net. Making hands dirty with DSLs in the free time (?) For more about me, visit Jagannathan is a DZone MVB and is not an employee of DZone and has posted 5 posts at DZone. You can read more from them at their website. View Full User Profile

Resolving a HSQLDB Exception in Hibernate 4

  • submit to reddit

Recently I was trying to have a small working PoC on a multi-tenancy in Hibernate 4.

All the Hibernate 4 dependencies were declared in the pom.xml including the hsqldb.


When the application was tested, it threw the following exception:

org.hibernate.exception.GenericJDBCException: This function is not supported
Caused by: java.sql.SQLException: This function is not supported

Then, as usual, I got some references over the net and found that the problem is due to the hsqldb.

So I changed the dependency to the following:


And it started working!

Published at DZone with permission of Jagannathan Asokan, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)