Fix Oracle DateTime conversion

Makes it possible to convert java.sql.Timestamp values when using oracle.