SimpleJdbcInsert.executeAndReturnKey() does not support LocalDateTime type. Corresponding to Mysql8.0.15 datetime type.

Current solution java.util.Date

Expected support type java.time.LocalDateTime

Comment From: yl-yue

java.time.LocalDateTime Will it be supported

Comment From: yl-yue

@spring-issuemaster JDK8 has been out for so long. Have you considered supporting LocalDateTime

Comment From: yl-yue

@jhoeller Hello, may I ask if SimpleJdbcInsert can consider the enhanced support for JDK8 LocalDateTime? If this is not a reasonable requirement, is there any better solution?

Comment From: snicoll

Duplicate #28778.