-->
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.  [ 2 posts ] 
Author Message
 Post subject: reveng extending base class , changing default generator
PostPosted: Wed Oct 25, 2006 8:43 am 
Newbie

Joined: Wed Oct 25, 2006 8:18 am
Posts: 4
I am using Hibernate code generation via Eclipse plugin and very satisfied with that.

However, i have two simple questions.

1) all of my classes extend a base class DAO.
http://forum.hibernate.org/viewtopic.php?t=966050

link writes that we can do it. But i could not find out how. Is there an example of extending a based class we like?

2) all tables have an OID column with generator class uuid.

How can we make this as a default generator?

looks like in the configuration file, we have to specify the table name and column. Which means i have to write for all tables ? :(

Thanks a lot.
best regards.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 25, 2006 4:45 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
post in the right forum (tools) and i'll follow up there.

_________________
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.  [ 2 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.