This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Fetching a reference in an entity which is no longer managed
how to refer one table in second many times?
problem preventing initialization associated entity
failed to lazily initialize
SCEA 5 / 1 - JPA question
Eager Fetching a Polymorphic SET
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015