Question: .When to use detached criteria in hibernate?

Ads

 
 
 

Share on Google+Share on Google+

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

When to use detached criteria in hibernate?

Ads
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

Ads

 
Advertisement null

Ads