I would like one of my table to have row level locking. I am currently using JPA (hibernate) with play framework.
Is this something that needs to be specified at the DB level or can it be done progammatically?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As a work around I ended up setting the transaction to read_uncommited with the code below.
This seems to suit my needs but is not exactly what I was looking for.
Furthermore the session.connection() is deprecated and this might not be a long term solution.