-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: SQL Script for CaveatEmptor application
PostPosted: Thu Mar 13, 2008 6:29 am 
Newbie

Joined: Thu Mar 13, 2008 6:18 am
Posts: 4
Hi.

Where can I find the DDL (data definition language) SQL Scripts for the CaveatEmptor application presented in "Java Persistence with Hibernate" ?
I downloaded the sources from caveatemptor.hibernate.org, but didn't find the files for generating the database tables.
Are they generated automatically by Hibernate engine from the OO domain model (from the entities) ?

Any help at all would be highly appreciated. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 6:50 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Read the README.txt.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 13, 2008 7:10 am 
Newbie

Joined: Thu Mar 13, 2008 6:18 am
Posts: 4
Thanks a lot. Silly me I didn't read the README.txt file first.


Top
 Profile  
 
 Post subject: getting exception while doing ant schemaexport in caveatempt
PostPosted: Thu Jul 17, 2008 12:19 pm 
Newbie

Joined: Thu Jul 17, 2008 12:13 pm
Posts: 2
Location: India
Hi There,

I am gettign teh following exception when I do "ant schemaexport"

D:\myeclipse\workspace\caveatemptor-native-061211>ant schemaexport
Buildfile: build.xml

compile:

copymetafiles:

schemaexport:
[hibernatetool] Executing Hibernate Tool with a Standard Configuration
[hibernatetool] 1. task: hbm2ddl (Generates database schema)

BUILD FAILED
java.lang.ExceptionInInitializerError

Total time: 2 seconds

Am I supposed to do some configurations before doing an ant to generate teh schema?


Top
 Profile  
 
 Post subject: getting exception while doing ant schemaexport in caveatempt
PostPosted: Thu Jul 17, 2008 12:24 pm 
Newbie

Joined: Thu Jul 17, 2008 12:13 pm
Posts: 2
Location: India
Hi There,

I am gettign teh following exception when I do "ant schemaexport"

D:\myeclipse\workspace\caveatemptor-native-061211>ant schemaexport
Buildfile: build.xml

compile:

copymetafiles:

schemaexport:
[hibernatetool] Executing Hibernate Tool with a Standard Configuration
[hibernatetool] 1. task: hbm2ddl (Generates database schema)

BUILD FAILED
java.lang.ExceptionInInitializerError

Total time: 2 seconds

Am I supposed to do some configurations before doing an ant to generate teh schema?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.