Techiio-author
Started by Natasha JonesSep 23, 2021

Open
Using load() by second session factory in my project throws org.hibernate.LazyInitializationException: could not initialize proxy - no session error

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I implemented the two session factories in my spring hibernate project.

why is it happening, when i use the first session factory for load() it works fine but when i use second session factory for load method it returns the org.hibernate.LazyInitializationException: could not initialize proxy - no session error.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance