-->
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.  [ 3 posts ] 
Author Message
 Post subject: beanPropertyType not being applied to relationships by plugi
PostPosted: Tue May 31, 2005 4:38 am 
Newbie

Joined: Fri May 27, 2005 11:11 am
Posts: 2
Can someone tell me why, when specifying beanPropertyType=”constraint” in the hibernate plugin’s attributes, there is no <meta attribute=”beans-property-type”> tag against any of the relationships in the mapping file and consequently no property change events are generated against relationship properties in the Java objects?

This works fine for primitive types (columns) which then will generate events as properties in their respective java objects. However, I thought that the same thing should be applied to relationships as I would like to know (or listen to) change events on those too.

Regards,

Jon


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 31, 2005 8:03 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
the bean stuff is not implemented in hbm2java 3:

http://www.hibernate.org/276.html

Contributions are welcome.

-max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 31, 2005 9:02 am 
Newbie

Joined: Fri May 27, 2005 11:11 am
Posts: 2
I should have mentioned that I'm using middlegen 2.1 which, as far as I understand it, are only compatible with the 2 version of hibernate tools.

I'd be happy to contribute but I'd like to know whether there is a reason that relationships are not bound/constrained by the plugin or whether it has simply not been done?

Jon


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