Try
This puts the wrapper on the date object that should allow
JDBC to identify this as an SQL DATE value.
Also, this is probably more appropriate in another forum.
“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook