Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate How to get max date in Hibernate?

Have Programming Question? Ask it here!
 
 
 


Java Coder
How to get max date in Hibernate?
1 Answer(s)      6 months and 9 days ago
Posted in : Hibernate


Hi,

Tell the code to get the max date in Hibernate?

Thanks


Advertisement
View Answers

January 22, 2014 at 2:15 PM


Hi,

You can use the projection in Hibernate for getting the max date.

Here is example code:

Projections.max("addmision_date")

Check the complete source code at Hibernate Criteria Max Date Example.

Thanks



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com