-->
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: Configuring a property while reverse engineering
PostPosted: Tue May 19, 2009 5:22 am 
Newbie

Joined: Tue Dec 09, 2008 6:55 am
Posts: 12
Hi,

Is it possible to configure attributes of a property such as insertable, updateable, access type, etc through a CustomStrategy while reverse engineering? I had a look at the code and it seems JDBCBinder sends in default values not read from anywhere else. Is there any other way to achieve this?

Also, the tool always generates collection mappings as <set> whereas I want it as <bag>. How do i configure this?

Thanks.

Regards
Kaizer


Top
 Profile  
 
 Post subject: Re: Configuring a property while reverse engineering
PostPosted: Fri May 22, 2009 2:03 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
"Is there any other way to achieve this"

In the latest release I added in reveng control over a couple of the most requested attributes but still safe ones, including insert/update, so you should actually have most of this control now.

If not, then patches are very welcome ;)

set/bag is not implemented. look above.

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