[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: lazily initialize collections in their getters
do-not-reply at jboss.com
Wed Aug 6 05:48:33 EDT 2008
"mars1412" wrote : basically it's the same, but with your approach the getter could return null, if anyone called setMyEntities(null)
Well, that's what the user would expect right? If someone explicitly sets it to null, then he should get back null, isn't it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168955#4168955
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168955
More information about the jboss-user