Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

hibernate with HSQL db - Acquisition Attempt Failed Error

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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



HibernateUtil.java



HelloWorld.java



My ant build file is

build.xml



My hibernate.cfg.xml is



My Hibernate mapping file is

Message.hbm.xml



I have all the needed jar files under

D:\JavaProjects\MyProjects\JPWH\helloworld-native\lib

My Hibernate version

hibernate-distribution-3.5.5-Final

My Hsqldb version

hsqldb-2.0.0

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
Deepthi








 
What? What, what, what? What what tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic