以下例外的含义是什么:
org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763):org.hibernate.MappingException:没有JDBC类型的方言映射:-9在org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677) at org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:458)
Caused by: org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
at org.hibernate.dialect.TypeNames.get(TypeNames.java:87)
at org.hibernate.dialect.TypeNames.get(TypeNames.java:118)
at org.hibernate.dialect.Dialect.getHibernateTypeName(Dialect.java:653)
发布于 2016-03-13 05:05:10
当hibernate方言无法为相应的数据库列找到相应的java数据类型时,就会出现此错误。再次检查列的兼容性。
https://stackoverflow.com/questions/35966707
复制相似问题