File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Fetching a reference in an entity which is no longer managed
Joined: May 24, 2009
Jun 10, 2010 12:00:07
Entity A reference Entity B and the Fetch type for B is LAZY.
The question is will I be able to access entity B(A.getB()) on the client side where entity A is detached from the persistent context
or I have to set the fetch type to EAGER to do this?
I agree. Here's the link:
subject: Fetching a reference in an entity which is no longer managed
SCEA 5 / 1 - JPA question
Eager Fetching a Polymorphic SET
how to refer one table in second many times?
failed to lazily initialize
problem preventing initialization associated entity
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014