-->
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.  [ 9 posts ] 
Author Message
 Post subject: hibernate-reverse-engineering: table name strategy
PostPosted: Mon Jun 13, 2005 12:41 pm 
Regular
Regular

Joined: Mon Jun 13, 2005 12:38 pm
Posts: 56
Location: Austin, TX
How can I generate custom classnames? For example, my table name is catalogItem and I want to have the ant tool generate a java class named CatalogItem.

thanks in advance,
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 13, 2005 5:23 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
did you read the docs ?

here it states at the moment youcan provide your own reverse engineering strategy.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 13, 2005 10:52 pm 
Regular
Regular

Joined: Mon Jun 13, 2005 12:38 pm
Posts: 56
Location: Austin, TX
The only documentation I could find was at:
http://www.hibernate.org/hib_docs/tools/ant/index.html

This only talks about how to change column names. Also, there is nothing in the javadocs about org.hibernate.cfg.reveng.ReverseEngineeringStrategy.

If you could point me to any additional documentation, then I would appreciate it.


thanks,
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 14, 2005 5:08 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
use the source luke

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 14, 2005 11:59 am 
Regular
Regular

Joined: Mon Jun 13, 2005 12:38 pm
Posts: 56
Location: Austin, TX
I feel like an idiot for asking this, but could you tell me where the source is in the hibernate-tools-3.0.0.alpha4a.zip download. I couldn't find it anywhere in the zip file. Also, I couldn't find a source specific download from: http://sourceforge.net/project/showfile ... _id=141977

I am I looking in the wrong place?

thanks,
Mike


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 14, 2005 6:15 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
its in cvs

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 14, 2005 10:23 pm 
Regular
Regular

Joined: Mon Jun 13, 2005 12:38 pm
Posts: 56
Location: Austin, TX
http://cvs.sourceforge.net/viewcvs.py/h ... rnate/cfg/
http://cvs.sourceforge.net/viewcvs.py/h ... rnate/cfg/

Those are the two places in cvs that I've looked. Could you either post the source or TELL me how to go about getting or finding it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 15, 2005 9:56 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
look in the HibernateExt cvs.

its all explained at tools.hibernate.org under build & contribute.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 11:58 am 
Regular
Regular

Joined: Mon Jun 13, 2005 12:38 pm
Posts: 56
Location: Austin, TX
http://cvs.sourceforge.net/viewcvs.py/h ... &view=auto


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