It would be better if you gave the mapping with this. Do
you have java.sql.Timestamp in db and String in class
field? There's no built in convertor for this. You can
write your own custom convertors. Instead of this, I
recommend that you use java.util.Date (field type date).
You'll need patch for this. Please see mailing list about
this.
Please see Types.java in package
net.sourceforge.osage.castor for a list of built-in
convertors.
Regards, george
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you. Interestingly, I had defined timestamp for the
db and
Timestamp for java and still got the error. I remember
reading of a Date
conversion problem on the Castor mailing list.
I will pursue this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=28717
Hi Lee,
It would be better if you gave the mapping with this. Do
you have java.sql.Timestamp in db and String in class
field? There's no built in convertor for this. You can
write your own custom convertors. Instead of this, I
recommend that you use java.util.Date (field type date).
You'll need patch for this. Please see mailing list about
this.
Please see Types.java in package
net.sourceforge.osage.castor for a list of built-in
convertors.
Regards, george
Logged In: YES
user_id=163683
Hi George,
Thank you. Interestingly, I had defined timestamp for the
db and
Timestamp for java and still got the error. I remember
reading of a Date
conversion problem on the Castor mailing list.
I will pursue this.