Hi guys,

I have an object that is persisted, but not all of the columns exist in the database. Some of the columns are calculated in the object and are read only. As an example, lets say that the object is a Period object with 3 fields: dateFrom, dateTo and totalDays. totalDays here can be calculated as dateTo-dateFrom (or some other business logic).

Is it possible to use OJB's QueryByCriteria to retreive where (for example) totalDays < 10? If so, how?

--
Regards,
Raymond Barlow




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



Reply via email to