Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fetching a reference in an entity which is no longer managed

 
Moses Marfo
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Condition
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic