Share on Google+Share on Google+

ratna rathor
.When to use detached criteria in hibernate?
1 Answer(s)      4 years and 10 months ago
Posted in : Hibernate Interview Questions

When to use detached criteria in hibernate?


View Answers

June 1, 2012 at 5:38 PM

Detached Criteria query is a facility provide by Hibernate to write criteria queries in detached mode, where hibernate session is not available. After writing detached Criteria query you can obtain Criteria by passing session to getExecutableCriteria().

For more detail click here.

Related Tutorials/Questions & Answers:


Advertisement null