Home Answers Viewqa Hibernate-Interview-Questions .When to use detached criteria in hibernate?

 
 


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

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.