[jboss-dev-forums] [JBoss XML Binding Development] - JBJPA-27 and setting PersistenceUnitMetaData reference to PersistenceMetaData

jaikiran pai do-not-reply at jboss.com
Fri Apr 30 11:09:07 EDT 2010


jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"JBJPA-27 and setting PersistenceUnitMetaData reference to PersistenceMetaData"

To view the discussion, visit: http://community.jboss.org/message/540467#540467

--------------------------------------------------------------
> Scott Marlow wrote:
> 
> Is there any reason why CollectionPropertyHandler.handle(PropertyInfopropertyInfo, TypeInfo propertyType, Object parent, Object child, QName
> qName) couldn't call the the getter after setting the field?  It appears that we call the getter before the set, but not after.
> 
> ...
> 
> If the convention is to put initialization logic in the getter, perhaps XB should call the getter after setting the field.
Scott,

I haven't looked into the details of this thread (yet), but looking at this part of getter/setter, I guess it's related to this?  http://community.jboss.org/thread/149235 http://community.jboss.org/thread/149235

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/540467#540467]

Start a new discussion in JBoss XML Binding Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2065]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100430/da7e090e/attachment.html 


More information about the jboss-dev-forums mailing list