I know you do it, but the question is where you do it. I asked you to
call size() in the EJB method as opposed to calling it in the web layer.
Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> The strange thing is that I do It.
> And the exception is obtained when .size() method is called.
>
> My source code:
>
> Categories cat = categorieFacade.find(categoryId);
>
> Collection<Contents> contents = cat.getContentsCollection();
> contents.size();
>
> When I debug the source code before
> contents.size()
>
> the contents variable tooltip tell me:
> contents = (oracle.toplink.essentials.indirection.IndirectList) { IndirectList: not instantiated}
> [Message sent by forum member 'peppeme' (peppeme)]
>
> http://forums.java.net/jive/thread.jspa?messageID=249956
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>