SpringBoot連線PostgreSQL
阿新 • • 發佈:2019-02-01
近期用SpringBoot連線PostgreSql,
這個 org.postgresql.jdbc.PgConnection.createClob() 方法尚未被實作
application.properties
pom.xml
這個 org.postgresql.jdbc.PgConnection.createClob() 方法尚未被實作
application.properties
spring.datasource.platform=postgres spring.datasource.url=jdbc:postgresql://10.18.35.155:5432/test1?useSSL=false spring.datasource.username=abc spring.datasource.password=abc spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults = false spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL9Dialect
pom.xml
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>