[jboss-dev-forums] [Design of EJB 3.0] - Re: metadata-related NPEs: empty collection vs null
scott.stark@jboss.org
do-not-reply at jboss.com
Fri Nov 2 12:46:45 EDT 2007
>From the merged view this is fine. The concern about doing this originally was that invalid objects would result for writing back out, and if you initialize fields to empty non-mutable collections this caused parse errors as jbossxb will use an existing collection from the binding target if one exists.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101388#4101388
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101388
More information about the jboss-dev-forums
mailing list