夕阳骑驴归: [code=java] en begin [AaEntity(id=null, na=n1, deleteFlag=1), AaEntity(id=null, na=n2, deleteFlag=1)] Creating a new SqlSession SqlSession [@ea724cb] was not registered for synchronization because synchronization is not active 2021-01-08 22:58:10.420 INFO 16276 --- [nio-5137-exec-1] : HikariPool-1 - Starting... 2021-01-08 22:58:10.422 WARN 16276 --- [nio-5137-exec-1] : Registered driver with driverClassName= was not found, trying direct instantiation. 2021-01-08 22:58:10.484 INFO 16276 --- [nio-5137-exec-1] : HikariPool-1 - Start completed. JDBC Connection [HikariProxyConnection@292337234 wrapping @6954cc14] will not be managed by Spring ==> Preparing: insert into aa1( na, delete_flag, create_time, update_time) VALUES (?, ? , NOW(), NOW()) , (?, ? , [/code]
Spring Boot 中使用@DateTimeFormat和@JsonFormat注解
避坑必看:很详尽的MyBatis返回自增主键实验【转载】