-->
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: custom property type on component mapping
PostPosted: Wed Jul 30, 2008 2:45 pm 
Newbie

Joined: Wed Jul 30, 2008 2:35 pm
Posts: 3
I'm using custom types on nearly all of my property mappings (an unholy legacy system requirement), and just wanted to make sure I wasn't crazy on one thing. It appears as though none of my custom types' getters/setters are being called for properties I define in component mappings. The same appears to be true for classes whose mapping I define inside of a one-to-many collection. Through debugging I see that the custom types are instantiated, and the Equals(x,y) method is called, but apparently nothing else.

These same types, btw, *are* called on when the property is moved outside of the component. Am I missing something here?


Top
 Profile  
 
 Post subject: PS
PostPosted: Wed Jul 30, 2008 2:49 pm 
Newbie

Joined: Wed Jul 30, 2008 2:35 pm
Posts: 3
Almost forgot -- this was from an older version of NHibernate, but I just verified that the same behavior exists on the 2.0 rc1 beta version.


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.