@Override
    public void setValue(PreparedStatement st, int startIndex, DateTime value) throws SQLException {
        st.setTimestamp(startIndex, new Timestamp(value.getMillis()));
    }
{@code DateTimeType} maps {@linkplain org.joda.time.DateTime}
to {@linkplain java.sql.Timestamp} on the JDBC level

@author tiwe
querydsl-sql/src/main/java/com/querydsl/sql/types/DateTimeType.java