-->
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: Where is Hbm2JavaTask class?
PostPosted: Tue Dec 02, 2003 5:32 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
I want to generate my persistent classes via ANT.
But I can't find the "net.sf.hibernate.tool.hbm2java.Hbm2JavaTask" class.
I've looked in the jar's. Maybe I missed one.

Can someone please tell me in what jar is the above class in?


Top
 Profile  
 
 Post subject: Re: Where is Hbm2JavaTask class?
PostPosted: Tue Dec 02, 2003 5:58 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
nerotnt wrote:
I want to generate my persistent classes via ANT.
But I can't find the "net.sf.hibernate.tool.hbm2java.Hbm2JavaTask" class.

I've looked in the jar's. Maybe I missed one.

Can someone please tell me in what jar is the above class in?


I've found the class. No need to respond.
Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 02, 2003 6:12 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Its called SchemaExportTask


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 02, 2003 10:47 am 
Pro
Pro

Joined: Wed Oct 08, 2003 10:31 am
Posts: 247
gavin wrote:
Its called SchemaExportTask


I only want to generate the persistent classes, not export to database.
I found it in the "hibernate-tools.jar".
I now generate my mapping files with "middlegen.MiddlegenTask" and my persistent classes with "net.sf.hibernate.tool.hbm2java.Hbm2JavaTask". Everything via ANT script.

Thanks for the reply.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 02, 2003 10:49 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
oops I misread ;)


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.