Here is some output from my torque.log: (note the mysterious minutes)

SELECT .... WHERE .... INVOICE_DATE=TO_DATE('2002-01-12 00:07:00',
'yyyy-mm-dd hh24:mi:ss');

and

SELECT ... WHERE ... INVOICE_DATE=TO_DATE('2002-01-01 00:01:00', 'yyyy-mm-dd
hh24:mi:ss')


This is from executing the following code twice:

SimpleDateFormat sdf = new SimpleDateFormat("yyyy-mm-dd");
Date date = sdf.parse(invoiceDate);
Criteria c = new Criteria();
c.add(INVOICE_DATE, date);
FooPeer.doSelect(c);


Anyone know where the mysterious minutes come from???

Many thanks,

Ben Hogan
http://lizardsoftware.com



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to