A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Fetching a reference in an entity which is no longer managed
problem preventing initialization associated entity
SCEA 5 / 1 - JPA question
Eager Fetching a Polymorphic SET
how to refer one table in second many times?
failed to lazily initialize
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013