在我的Spring-boot应用程序中将Postgres改为Cockroach后,我开始遇到这个问题: The fastpath function lo_creat is unknown./:na] 在spring-boot中有解决这个问题的简单方法吗?因为它似乎不适用于蟑螂。 它似乎与hibernate和DB文本字段有关。
我试图使用JPA实体来创建数据库模式。但是hibernate并没有创建指定的模式,在这个模式下,我试图创建表。(SessionFactoryBuilderImpl.java:468) ~[hibernate-core-5.4.15.Final.jar:5.4.15.Final]
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.buildorg.postgresql.util.PSQLException: ERRO
name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa: Unable to resolve name [org.hibernate.dialect.MySQL5Dialect ] as strategy [org.hibernate.dialect.Dialect: Unable to resolve name [
资源/WEB/dispatcher-servlet.xml中定义:调用init方法失败;嵌套的例外是org.hibernate.HibernateException:当“hibernate.dialect: Access to DialectResolutionInfo当“hibernate.dialect”未在org.hibernate上设置时不能为空.engine.jdbc.dialect.internal.DialectFactoryImpl.determine