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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.