import org.hibernate.dialect.SQLServerDialect;
public class SqlServer2008Dialect extends SQLServerDialect {
public SqlServer2008Dialect() {
super();
registerHibernateType(1, “string”);
registerHibernateType(-9, “string”);
registerHibernateType(-16, “string”);
registerHibernateType(3, “double”);
}
}
reference: https://blog.csdn.net/xd195666916/article/details/5419316
[java] hibernate No Dialect mapping for JDBC type: 3;
分類:java
i don’t get any data.