我是用Spring JPA进行数据库存储的,用的是mysql,在创建数据库时已经设定collation为utf8mb4_general_ci,但在Spring JPA建表,往数据库插入数据时却仍然提示
Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
我是用Spring JPA进行数据库存储的,用的是mysql,在创建数据库时已经设定collation为utf8mb4_general_ci,但在Spring JPA建表,往数据库插入数据时却仍然提示
Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='