-->
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.  [ 1 post ] 
Author Message
 Post subject: SchemaExport alludes me
PostPosted: Sun Jul 18, 2004 11:30 pm 
Newbie

Joined: Fri Jul 16, 2004 2:18 am
Posts: 5
Im trying to use the schema export function to create a ddl.

Now I have downloaded the workshop_toolset_java example from the hibernate website and understand(i think) whats happening but when I try and run the schemaexport ant task i get
BUILD FAILED
C:\Documents and Settings\Aaron\Desktop\workshop_toolset_java\build.xml:114: Schema text failed: could not find file: \hibernate.cfg.xml


I have also tried 2 or 3 other sample codes available on the net which use slightly different build files to run schema export and I always get an error such as:

Schema text failed: net.sf.hibernate.MappingException: persistent class [some class] not found

This happens in the code I have written and in unmodified code which i Simply download unzip and try to use.

Now im not sure if I have stuffed something up in ant or installing hibernate or what but im hoping someone can help else I am not gonna have any hair left soon cause I will have pulled it all out.


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

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.