Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!

Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate with HSQL db - Acquisition Attempt Failed Error  RSS feed

Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to run the helloworld program fromJava persistance with Hibernate(http://www.amazon.com/Java-Persistence-Hibernate-Christian-Bauer/dp/1932394885/ref=sr_1_1?ie=UTF8&s=books&qid=1282779459&sr=8-1.)

But I am getting acquisition attempt failed error. Could anyone please help me out.

My pojo is Message.java



My ant build file is


My hibernate.cfg.xml is

My Hibernate mapping file is


I have all the needed jar files under


My Hibernate version


My Hsqldb version


when i run ant

ant clean
ant compile
ant copymetafiles
ant startdb
ant dbmanager

All the above run fine. but when i run the command ant schemaexport i get the following error

Thanks for your time and patience.

With regards

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!