• +91 9723535972
  • info@interviewmaterial.com

Hibernate Interview Questions and Answers

Question - What are the different states of a persistent entity?

Answer -

It may exist in one of the following 3 states:

  • Transient: This is not associated with the Session and has no representation in the database.
  • Persistent: You can make a transient instance persistent by associating it with a Session.
  • Detached: If you close the Hibernate Session, the persistent instance will become a detached instance.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners