Hi,
In some examples of hibernate I have seen on the net, people have used Transaction while doing a session.get.
Is it necessary to use Transaction while reading using hibernate?
The reason I'm asking this is that today I got a org.hibernate.e xception.LockAc quisitionExcept ion while reading from a table using hibernate.
The table is on a remote machine and is being used by more than one process.
Anyways, where to use Transaction and where not to use it is my question.
Thanks in advance.
In some examples of hibernate I have seen on the net, people have used Transaction while doing a session.get.
Is it necessary to use Transaction while reading using hibernate?
The reason I'm asking this is that today I got a org.hibernate.e xception.LockAc quisitionExcept ion while reading from a table using hibernate.
The table is on a remote machine and is being used by more than one process.
Anyways, where to use Transaction and where not to use it is my question.
Thanks in advance.