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: Hibernate Tools - configuration more in depth
PostPosted: Wed Oct 25, 2006 4:03 pm 
Newbie

Joined: Sun Jan 01, 2006 7:57 am
Posts: 8
Hello,
my only question is how can I configure the process of reverse eng. in HB tools I mean for example:
A. if I want Set, Collection, or SortedSet - for many to many or many to one relation
B. the inheritance, Table per hierarchy, per subclass, per class
C. id unique generator : native, increment,...
D..and so on.
Is it possible, pls tell me that it is.
Thx for answer

_________________
--johnypt--


Top
 Profile  
 
 Post subject: Re: Hibernate Tools - configuration more in depth
PostPosted: Thu Oct 26, 2006 2:22 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
johnypt wrote:
Hello,
my only question is how can I configure the process of reverse eng. in HB tools I mean for example:

A. if I want Set, Collection, or SortedSet - for many to many or many to one relation


it is possible to choose between <bag> and <set>, read the docs.

Quote:
B. the inheritance, Table per hierarchy, per subclass, per class


Not possible and borders to something that would be just as hard to describe in reveng.xml as in hbm.xml or annotations so why don't you just do the mapping there ?

Quote:
C. id unique generator : native, increment,...


read the doc about reveng.xml and primary-key.

Quote:
D..and so on.


Two options:

1) contribute these things (and you will either solve your problem or see that #2 is an better option)

2) use mapping files if you want to have full control over the mapping.

/max

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