Correcting the Oracle JDBC V8Compatibility syntax error

(TechNote) Oracle has published an FAQ and a list of workarounds for a known issue with the data type of date. The issue is that the data type of date is mapped to java.sql.timestamp in Oracle versions prior to 9.2 but java.sql.date in Oracle versions 9.2 and later.