Ivano Luberti wrote:
> Can someone suggest the best practice to do this with Torque ?

I suggest the following:

---8<---
Criteria criteria = new Criteria();

criteria.add(IscrizioniSocioPeer.STARTTIME,
(Date) (formUser.getDataIscrizioneInizio()), Criteria.GREATER_EQUAL);

criteria.and(IscrizioniSocioPeer.STARTTIME,
(Date) (formUser.getDataIscrizioneFine()), Criteria.LESS_EQUAL);
---8<---

What were you planning to achieve with
dataIscrizioneFine.setIgnoreCase(true)? The value is a Date object.

Bye, Thomas.

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
For additional commands, e-mail: torque-user-h...@db.apache.org

Reply via email to