Re: [Hibernate] Date Functions

2005-06-10 Thread Emmanuel Bernard
Please use the user forum these questions. Thanks. Srinivas Jadcharla wrote: Hi there, I have a table with STARTDATE - DATE ENDDATE- DATE And i need to check if the date 0405(MMYY) falls with in the the STARTDATE AND ENDDATE..That means 0405 should be gretaer than STARTDATE and les

[Hibernate] Date Functions

2005-06-10 Thread Srinivas Jadcharla
Hi there,   I have a table with   STARTDATE - DATE ENDDATE    - DATE   And i need to check if the date 0405(MMYY) falls with in the the STARTDATE AND ENDDATE..That means 0405 should be gretaer than STARTDATE and less tham ENDDATE..Iam clue less how to implement this..Do i need to use Criteria or