What’s the use of session.lock() in hibernate?

Report
Question
8 views

Please explain why do you think this question should be reported?

Report Cancel

session.lock() technique for session class is used to reattach an object which has been disconnected before. This technique for reattaching doesn’t check for any information synchronization in database while reattaching the object and subsequently may lead to absence of synchronization in data.

Please follow and like us:

About the Author