2

I have a hbm file like this

<hibernate-mapping default-lazy="false">
<class name="com.pack.parent" table="Parent">

I am not able to find how to annotate the default-lazy, should I do with @Proxy. Please suggest me.

user503285
  • 125
  • 3
  • 14
  • Well it's always `lazy` by default in hibernate, you can check http://stackoverflow.com/a/26601720/3669624 . – cнŝdk Apr 07 '17 at 14:49
  • I know how to do for manytoone, onetomany, manytomany and onetoone. But this default-lazy is mentioned at directly in the mapping. – user503285 Apr 07 '17 at 14:54

0 Answers0