4

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

DD.
  • 20,673
  • 51
  • 150
  • 241

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,374
  • 6
  • 36
  • 49
  • 5
    Only caveat is that you need bytecode instrumentation enabled otherwise it will be eagerly loaded. – DD. Aug 07 '13 at 00:39