【发布时间】:2014-04-21 11:31:32
【问题描述】:
我有一个具有以下属性的实体:
@Type(type = "org.joda.time.contrib.hibernate.PersistentDateTime")
protected DateTime time;
我得到以下错误
Caused by: java.lang.AbstractMethodError
at org.hibernate.type.CustomType.nullSafeSet(CustomType.java:158)
at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2843)
我正在使用 jboss wildfly,它使用的是 hibernate 4.3.1。 我的耳朵里有 joda-time-2.3.jar 和 joda-time-hibernate-1.3.jar。 这些版本是否不能正常协同工作?
【问题讨论】:
标签: java hibernate hibernate-mapping jodatime wildfly