Is it possible to do lazy fetch after an entity is sent to a standalone client

Solution Verified - Updated -

Issue

  • Is it pssible to pass an entity which has one of it properties annotated with
    @OneToMany(fetch = FetchType.LAZY)
    to standalone client and do fetching on the client side?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
  • Java Persistence API (JPA)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content