// create specially configured CharType handler
map.registerType(new CharType(true, true));
// create specially configured ByteArrayType handler
map.registerType(new ByteArrayType(true, true));
// override date handler with Oracle handler
map.registerType(new OracleUtilDateType());
// At least on MacOS X, driver does not handle Short and Byte properly