Hi,
I have what seems to be a stupid problem.
My bean has a java.util.Date field defined in it, and this is what the Oracle database field is defined as.
I am using hibernate to manage my data access, however I get an error, where the value is too big for the field.
The value that is trying to be inserted is:
Thu Dec 02 14:11:31 EST 2004, when obviously it should be 02/12/2004.
Surely I don't need to format the date as a string and use that to save it?
thanks.


Reply With Quote