really newbie question about Expression

From: Jin Lee (jinsle..mail.com)
Date: Thu Feb 17 2005 - 02:39:28 EST

  • Next message: Borut Bolčin: "Initializing DataSourceInfo"

    Hey all,

    Still trying to figure out more of cayenne and was wondering if anyone
    can help answer a question about Expressions.

    I have this table:

    Table: dates
    ------------------------
    dateId
    dateBegin
    dateEnd

    A user enters a date (userDate) and it gets converted to a java.util.Date.

    I want the condition to be:
    where userDate between dateBegin and dateEnd

    What would be the correct Expression to handle this?

    Thank you,

    Jin



    This archive was generated by hypermail 2.0.0 : Thu Feb 17 2005 - 02:39:29 EST