I've been told that as of JDBC 4.2 we can directly pass java.time
objects to the database. But what about the Three Ten Backport classes? Can you directly pass Three Ten Backport classes to JDBC as well?
For example, let's say you pass an org.threeten.bp.LocalDateTime
as an argument in a PreparedStatement. Would JDBC be able to handle this, the same way it accepts java.util.Date
and java.sql.Date
as arguments?