What are the different states of a persistent entity?



What are the different states of a persistent entity?..

Answer / Chinmay Narayan Mishra

A persistent entity in Hibernate can be in one of these states: transient (not associated with any session), persistant (managed by a session), detached (previously managed by a session but now not), and removed (marked for deletion).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hibernate Interview Questions

How to get hibernate session in spring boot?

1 Answers  


How can we get hibernate statistics?

1 Answers  


How to integrate log4j logging in hibernate application?

1 Answers  


What is the full form of yaml?

1 Answers  


What is second level cache in hibernate?

1 Answers  


Can hibernate id be string?

1 Answers  


Is a mapping in hibernate?

1 Answers  


What is the hibernate life cycle of an entity?

1 Answers  


How to get single column from database using hibernate?

1 Answers  


What are the annotations used in hibernate?

1 Answers  


What the two methods are of hibernate configuration?

1 Answers  


What is a hibernate xml mapping document and how does it look like?

1 Answers  


Categories