J
J
I am using Hibernate for the first time. There are one-many
relationships where we want to use Lazy Initialization.
I am setting lazy = "true", but the problem is when i try to get the
child object later, i get the error : LazyInitializationError - no
session.
What is the way to solve this problem.
Also i want to know if i can use Lazy Initializations when there are
JMS calls.
Lazy Initialization means - that particular information is retrieved
only at the time when we access the object. So at that time will it
make a JMS call?
relationships where we want to use Lazy Initialization.
I am setting lazy = "true", but the problem is when i try to get the
child object later, i get the error : LazyInitializationError - no
session.
What is the way to solve this problem.
Also i want to know if i can use Lazy Initializations when there are
JMS calls.
Lazy Initialization means - that particular information is retrieved
only at the time when we access the object. So at that time will it
make a JMS call?