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

Answers were Sorted based on User's Feedback



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

Answer / nelson

Transparent means seperation of concerns between peristence
classes and the way they are persisted. Domain classes need
not know any details about how they are getting persisted.
An example would be the DAO pattern which provide
transparent persistence.

Is This Answer Correct ?    3 Yes 3 No

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

Answer / 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

More J2EE Interview Questions

when i m calling java for web browser . so browser it's not support. show error in browser: internal error occur. java.lang.NoClassDefFoundError. will you give me solution why it's not starting browser.? is there any consult with .net framework2.0?

0 Answers  


what is the difference between servlets and jsp?

2 Answers   Cegonsoft,


What is java servlet container?

0 Answers  


Sapient Interview Questions

8 Answers   Sapient, TCS,


What is the latest technology used in java?

0 Answers  






What is the difference between java and core java?

0 Answers  


What is java transaction api (jta)?

0 Answers  


What is java j2ee developer?

0 Answers  


What is multi tier architecture in j2ee?

0 Answers  


Why is java important for internet?

0 Answers  


What is declaration?

0 Answers  


What do you mean by the deployment descriptor?

0 Answers  


Categories