Hello,

I cannot get cayenne to l imit records based on a mysql date field.
I tried two variations below.
The date is stored as datetime and has a date & time value.
I only need to limit records based on date.
What am I doing wrong?
//Expression qualifier = 
ExpressionFactory.matchDbExp(Bedlog.ADMIT_REQUEST_DATE_PROPERTY, requestDate);

Expression qualifier = 
ExpressionFactory.betweenExp(Bedlog.ADMIT_REQUEST_DATE_PROPERTY, 
requestDate,requestDate);

query.andQualifier(qualifier);



Regards,

Frank

Reply via email to