java 类型转换异常:org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: Error preparing statement. Cause: java.lang.ClassCastException: org.apache.shardingsphere.sql.parser.sql.segment.dml.column.ColumnSegment cannot be cast to org.apache.shardingsphere.sql.parser.sql.segment.dml.expr.ExpressionSegment,
开始是以为是个常规的类型转换异常,直到一行行查看SQL(sql太长)才发送sql里面有oracle的sysdate函数,而PG数据库中是没有这个函数的,改为current_timestamp。