.When to use detached criteria in hibernate?

Ads
Ads

.When to use detached criteria in hibernate?


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

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.


Ads









Related Tutorials/Questions & Answers:
Advertisements