Hi All
I use  MutableDateTime  in my Entity (type of field). This field
mapped to varbinary(255) in database. is possible create mapping with
timestamp

result of adding code
@Column
@Type(type="org.joda.time.contrib.hibernate.PersistentDateTime")

is


Caused by: java.sql.SQLException: Type Conversion not supported
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.jdbcPreparedStatement.setParameter(Unknown Source)
        at org.hsqldb.jdbc.jdbcPreparedStatement.setTimestamp(Unknown Source)
        at 
com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.setTimestamp(NewProxyPreparedStatement.java:807)
        at org.hibernate.type.TimestampType.set(TimestampType.java:45)
        at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:136)
        at 
org.joda.time.contrib.hibernate.PersistentDateTime.nullSafeSet(PersistentDateTime.java:99)





---------
Rzhevskiy Dmitry
www.rzhevskiy.info

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to