-->
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: Hibernate-Tools ReverseEngineeringStrategy or reveng.xml
PostPosted: Tue Sep 12, 2006 2:22 am 
Newbie

Joined: Mon Sep 11, 2006 10:40 am
Posts: 3
Hello,

I would like to customize the settings of the hibernate-tools, thus I think of using the reveng.xml or an own class, that inherits of DelegatingReverseEngineeringStrategy.class. The aim is to

1. use increment as generator,
2. use int for the id's (not Integer) and
3. use equals() and hash() function
automatically for all entities.

My concrete problems:
- for 3.: <meta attribute="use-in-equals">true</meta> in XXX.hbm.xml has no effect when using the reveng.xml. Why?
- The hibernate.jar does not contain the DelegatingReverseEngineeringStrategy-class. Where can I get it?

Thank you


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.