Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  

.When to use detached criteria in hibernate?



Share on Google+Share on Google+

ratna rathor
.When to use detached criteria in hibernate?
1 Answer(s)      5 years and 2 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: