Hi friends, can u explain Transparent Persistence in
hibernate with sample code.

Answer Posted / ram nidadavolu

Types of Hibernate instance states:-

Transient- The instance is not associated with any
persistence context.

persistence- The instance is associated with a persistence
context.

Detached-The instance is associated with a persistence
context which has been closed- currently not associated.

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is connector?

748


Is java an assembly language?

668


In DAO we are writting sql queries , how it is possible with creating and closing database connections.

1706


Describe orm?

719


What do you understand by connector?

677


What does application client module contain?

740


What does enterprise javabeans module contain?

689


What is jta and jts?

699


Explain the four types of container that the j2ee specification defines

686


to update a batch in a table in jdbc which method of statement object is used

1857


What is the mvc on struts?

673


What is certificate authority?

738


What is iso 3166?

701


What does resource adapt module contain?

721


What is java secure socket extension (jsse)?

756