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

Alexey Loubyansky do-not-reply at jboss.com
Fri Apr 30 12:01:26 EDT 2010


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&containerType=14&container=2065]

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


More information about the jboss-dev-forums mailing list