posted 18 years ago
I'm not sure what's your requirement but I find UserType a heavy weight solution which should be used when hibernate doesn't support the data type natively.
In your case, with my limited understanding of the problem, I would set the field as varchar and would define as "access" = "field". In this way you can have yout getValue() method that would return date field.
----------------------------------<br />Neeraj Kumar<br /><a href="http://www.neeraj.name" target="_blank" rel="nofollow">www.neeraj.name</a>