美文网首页
解决SpringBoot连接PostgreSql的一个错误

解决SpringBoot连接PostgreSql的一个错误

作者: 丑矬穷 | 来源:发表于2018-05-10 14:29 被阅读67次

    这个 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>
    

    相关文章

      网友评论

          本文标题:解决SpringBoot连接PostgreSql的一个错误

          本文链接:https://www.haomeiwen.com/subject/tyizrftx.html