Wolfgang Knauf [
http://community.jboss.org/people/WolfgangKnauf] created the discussion
"Re: ManyToMany bidirectional - inverse side does not load the complete
collection"
To view the discussion, visit:
http://community.jboss.org/message/565211#565211
--------------------------------------------------------------
I just googled the "open session in view" pattern. It seems this is Hibernate
specific, so your app would not be portable to another container or JPA implementation. I
would suggest to build the session bean methods in a way that they preload required data
for their use case (using e.g. the "appointments.getOffers().size()" approach
you mentioned above)
Die Welt ist ein Dorf - ich bin im Nebenjob an der FH Wiesbaden ;-)
Best regards
Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/565211#565211]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]