Hi there, I am using a timestamp as follows (Hibernate 2.1):
Code:
<property name="creationTimeStamp" type="timestamp" column="NET_CREATION_DATE"/>
The is a TIMESTAMP in my SQL2000 server, and the property is mapped to:
Code:
public java.sql.Timestamp getCreationTimeStamp() {
...
}
public void setCreationTimeStamp(java.sql.Timestamp timestamp) {
...
}
Yet I am getting the following error message:
Code:
java.sql.SQLException: Disallowed implicit conversion from data type datetime to data type timestamp, table 'snap.dbo.SSN_NETWORKS', column 'NET_CREATION_DATE'. Use the CONVERT function to run this query.
What am I missing here?
TIA Oren