If you think you need to import it from JdbcDriver you're probably doing it wrong. You also need the JdbcType for the underlying type and this has to come from the correct driver, not from JdbcDriver. If you get this from the right place, you can also get JdbcDriver from there.