I have hibernate mapping as follow:
<property formula="(Timediff(ifnull(sttime,now()),sstime))" insert="false" name="duration" update="false" />
where sstime is of type Timestamp
here this formula returns some value in this format "838:59:59" from my data.
I got the exception when i am trying to load this value in 'Duration' field, which has 'java.sql.Time' type, it gives me this exception.
"Generic JDBC exception - Bad format for Time '838:59:59'"