white knight

导航

 

参考 https://www.cnblogs.com/luxd/p/8316243.html

https://www.cnblogs.com/s648667069/p/6478559.html

 

@Component
public class MyOracleDialect extends Oracle10gDialect {
public MyOracleDialect() {
super();
registerHibernateType(Types.NVARCHAR, StandardBasicTypes.STRING.getName());
}
}


spring.jpa.properties.hibernate.dialect=xx.MyOracleDialect
posted on 2018-06-22 17:15  white knight  阅读(328)  评论(0编辑  收藏  举报