1

As per definition hibernate's "load()" method always retrieves proxy objects.

In my current project I am using JPA and ORM provider being used is hibernate. How can I achieve load() functionality (provided by Session) while using EntityManager (JPA)?

Anuj Mehra
  • 320
  • 3
  • 19

1 Answers1

1

Maybe what you want is EntityManager.getReference

eltabo
  • 3,749
  • 1
  • 21
  • 33