Joined: Wed May 25, 2005 8:28 am Posts: 18
|
I have a table that has a composite primary key with one of the fields that is of type Date.
The mapping configuration works, but when I execute a query in the table occurs the following error:
Connot perform lookups on timestamps.
I'm using hibernate 3.0 and Oracle 9.0.2 and the Oracle9Dialect.
Why the Date field is using org.hibernate.type.TimestampType instead of org.hibernate.type.Date?
I've seen in source that org.hibernate.type.TimestampType is who throws the exception.
There is some walkthrought? I dont have power to change the database scheme.
Thanks
|
|