Using the JDBC types.  Why didn't I think of that before?