Error attempting to get column 'create_time' from result set. Cause: java.sql.SQLFeatureNotSupportedException

Updated on with 0 views and 0 comments

参考官方链接:https://mp.baomidou.com/guide/faq.html#mybatisplusexception-your-property-named-xxx-cannot-find-the-corresponding-database-column-name

尝试了几种方式未成功,最终选择换掉druid数据源:

spring:
  # 数据源配置
  datasource:
    username: root
    password: 12345678
    type: com.zaxxer.hikari.HikariDataSource
    url: jdbc:mysql://127.0.0.1:3306/ofbiz?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8
    #mysql8版本以上驱动包指定新的驱动类
    driver-class-name: com.mysql.cj.jdbc.Driver

	<!-- 自动引用了spring-boot-starter-jdbc,所以无需单独导入 -->
	<dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
            <version>3.2.0</version>
        </dependency>

标题:Error attempting to get column 'create_time' from result set. Cause: java.sql.SQLFeatureNotSupportedException
作者:Zcoin
地址:https://zzzerp.cn/articles/2020/06/17/1592358157520.html