My case is as follows :
class A {
/**
* @ojb.field
* id = "7"
* conversion
= "org.apache.ojb.broker.accesslayer.conversions.JavaDate2SqlTimestampFieldConv
ersion"
* jdbc-type = "TIMESTAMP"
* nullable = "true"
*/
private Date startDate;
}
/** ......
* .....
* @ojb.modify-inherited ignore="true" name="startDate"
**/
class B extends A {
}
It will show invalid column type when I try to query B by condition "startDate
greater someday"
but it will be ok if I use java.sql.Timestamp
criteria.addGreaterOrEqualThan("startDate", new Timestamp
(this.searchStartDate.getTime()));
Why JavaDate2SqlTimestampFieldconverstion isn't interited ?
Should I have to use java.sql.Timestamp no matter parent class use conversion
or not ?
ohara
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]