Hi.
The relationship between Team and Player entities is one-to-many.
Inside a transaction, to fully initialize the player side we could use:
Hibernate.initialize(team.getPlayers());
Well, why not just use:
team.getPlayers();
?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123812#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...