What are concurrency strategies in hibernate?



What are concurrency strategies in hibernate?..

Answer / Bhagat Singh

Optimistic locking (using version field), Pessimistic locking, and Timeout locking are the main concurrency strategies in Hibernate.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

What is true for hibernate and jpa?

1 Answers  


What do you mean by named – sql query?

1 Answers  


What is lazy loading in hibernate?

1 Answers  


How do you invoke stored procedures?

1 Answers  


Explain the general flow of hibernate communication with rdbms.

1 Answers  


What does hibernate show_sql true mean?

1 Answers  


How can we see hibernate generated sql on console?

1 Answers  


What is hibernate generator class?

1 Answers  


How many types of association mapping are possible in hibernate?

1 Answers  


How can we add criteria to a sql query?

1 Answers  


What is an sql dialect?

1 Answers  


Hibernate SessionFactory is thread safe?

1 Answers  


Categories