Hibernate (Java) Question:
Download Job Interview Questions and Answers PDF
What are the benefits of detached objects?
Answer:
Detached objects can be passed across layers all the way up to the presentation layer without having to use any DTOs (Data Transfer Objects). You can later on re-attach the detached objects to another session.
Download Hibernate Interview Questions And Answers
PDF
Previous Question | Next Question |
What is a Session? Can you share a session object between different theads? | What are the pros and cons of detached objects? |