-->
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.  [ 3 posts ] 
Author Message
 Post subject: Where is SchemaExportTask?
PostPosted: Tue May 23, 2006 5:23 pm 
Beginner
Beginner

Joined: Sat May 20, 2006 3:40 pm
Posts: 21
Where is net.sf.hibernate.tool.hbm2ddl.SchemaExportTask? I need this for the <schemaexport> task that generates DDL from HBM files. I've looked everywhere, including the Hibernate Extensions package, which goes up to net.sf.hibernate.tool. but doesn't have an hbm2ddl subpackage!

I've been looking at some examples that use <schemaexport>, and seeing others that use <hibernatetool> with <hbm2ddl> within it...are these two different ways of doing the same thing, or do they do different things?

Anyways, I need to find that SchemaExportTask class... any help would be appreciated.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 28, 2006 8:52 am 
Regular
Regular

Joined: Thu Oct 27, 2005 8:06 am
Posts: 55
Location: München, Germany
When I downloaded Hibernate some months ago, class SchemaExportTask was in package org.hibernate.tool.hbm2ddl, which came with the regular hibernate3.jar file. Isn't it there any more?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 28, 2006 11:54 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
yes the old schema ant task is still there.

the new one (in <hibernatetool>) uses the same "engine" (SchemaExport) but is is more aligned with the other ant tasks + it supports generation from ejb3/annotations.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.