-->
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: java bean problem
PostPosted: Mon Jun 20, 2005 9:04 am 
Newbie

Joined: Wed Nov 12, 2003 3:49 pm
Posts: 19
Folks,

Has anybody been able to use hibernate to load a java bean that has multiple set methods for the same property? Many of my business objects have multiple single argument setters, and the only way that I can keep hibernate from choking is to eliminate all but one of them.

I have reviewed the java bean spec, the hibernate doc, and Hibernate in Action, and have not found anything that indicates that muliple setters are not allowed.

The only think that I can think of is that I need to explicitly specify which set method to use in such cases. But, it seems like Hibernate should be able to select the appropriate method based on the signature.

Has anybody had any success with multiple setters?

Thanks,
Dave


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 20, 2005 9:08 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Please use the regular user forum.


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.