Fix Date handling when user has specified jdbc-type