4

When hibernate loads an object containing a field annotated with @Lob will this field be loaded eagerly or lazily?

DD.
  • 21,498
  • 52
  • 157
  • 246

1 Answers1

0

Yes it is loaded lazily. Read this jira ticket and comment for this by Emmanuel Bernard. And also this question

Community
  • 1
  • 1
Elbek
  • 3,434
  • 6
  • 37
  • 49
  • 5
    Only caveat is that you need bytecode instrumentation enabled otherwise it will be eagerly loaded. – DD. Aug 07 '13 at 00:39