Hello,
In the bean code, you are triggering the loading of the getUsuarios() on a single Grupo, but in the client code shown, it is a list grupos. How is the list obtained and what is the exception you are getting? If you are reading a collection of Grupo entities, the only way to ensure that each of them has the getUsuarios loaded is to use a fetch join in the query.
Best Regards,
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]
http://forums.java.net/jive/thread.jspa?messageID=358778