Alexey Loubyansky [
http://community.jboss.org/people/alex.loubyansky%40jboss.com] replied
to the discussion
"JBJPA-27 and setting PersistenceUnitMetaData reference to PersistenceMetaData"
To view the discussion, visit:
http://community.jboss.org/message/540489#540489
--------------------------------------------------------------
Ok, but it's still not clear how calling the getter after the setter will help since
the setter in the handler will set an empty collection.
And the getter, btw, is called for each item.
The feature Jaikiran mentioned won't work with unordered sequences (it would work fine
if the collection items in the XML appeared in a proper sequence but if they are mixed
with other elements the final collection value will only complete the last proper sequence
of items, which makes sense if you think about it). So, when unordered sequences are
enabled (which is currently the default in the AS
https://jira.jboss.org/jira/browse/JBAS-6744 https://jira.jboss.org/jira/browse/JBAS-6744)
this feature is turned off.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/540489#540489]
Start a new discussion in JBoss XML Binding Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]