What is version property in hibernate?



What is version property in hibernate?..

Answer / Harikesh Bairwa

The version property in Hibernate is used to manage optimistic locking. It maintains the version number of an entity and checks if the entity's version number has been modified by another transaction before updating or deleting it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

Can we use only jpa without hibernate?

1 Answers  


How do you map java objects with database tables?

1 Answers  


How to use limit in hibernate query?

1 Answers  


What is save method in hibernate?

1 Answers  


Which is better save or persist in hibernate?

1 Answers  


What are different ways to disable hibernate second level cache?

1 Answers  


What is the advantage of hibernate over jdbc?

1 Answers  


What is table per concrete class in hibernate?

1 Answers  


Does spring data use hibernate?

1 Answers  


What is the benefit of using hibernate?

1 Answers  


What is hibernate architecture?

1 Answers  


Is merge better than update?

1 Answers  


Categories