gavin wrote:
you tries java.util.Date as a -column- type?!
From the docs on the hibernate site, section
4.1.9. property:
typename could be:
The name of a Hibernate basic type (eg. integer, string, character, date, timestamp, float, binary, serializable, object, blob).
The name of a Java class with a default basic type (eg. int, float, char, java.lang.String, java.util.Date, java.lang.Integer, java.sql.Clob).
The name of a subclass of PersistentEnum (eg. eg.Color).
The name of a serializable Java class.
The class name of a custom type (eg. com.illflow.type.MyCustomType).
So, yes, I tried using java.util.Date as type for my property.
I have tried the following configurations:
1)
<property name="effectiveThroughDate">
<column name="effectiveThroughDate" sql-type="datetime"/>
</property>
2)
<property name="effectiveThroughDate" type="timestamp"/>
3)
<property name="effectiveThroughDate" type="java.util.Date"/>
I am not saying this is a bug, what I am saying is that I am not able to figure out what I am doing wrong and I am asking for help cause I don't understand.
// ulmus