Community

JBJPA-27 and setting PersistenceUnitMetaData reference to PersistenceMetaData

reply from jaikiran pai in JBoss XML Binding Development - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss XML Binding Development at Community