Are there date functions available in jpql?

Posted by Nitesh Panchal on Stack Overflow See other posts from Stack Overflow or by Nitesh Panchal
Published on 2010-05-03T15:34:24Z Indexed on 2010/05/03 15:38 UTC
Read the original article Hit count: 580

Filed under:

Hello, I want to write query something like :-

Select u from bookmaster u order by Year(b.createDate),Month(b.createDate),day(b.createDate) 

How do i do this in JPQL? Are there any date parsing functions available?

© Stack Overflow or respective owner

Related posts about jpql