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



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

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
How to get max date in Hibernate?
1 Answer(s)      8 months 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