The oracle datatype of DATE
is identical to the SQL standards (and JDBC) concept of TIMESTAMP
as it stores date + time. The SQL standards concept of DATE
only stores a date (so year, month, day in month). The behavior in ojdbc6.jar
is correct and ojdbc14.jar
was wrong.
Not all relational database servers use the exact same names for things. The SQL standards did not emerge until after there were relational databases, and some (or most) kept using their legacy naming for datatypes instead of moving to the names of the standards.