I'm trying to get customized type mapping working with the JDBC 2.0
development driver (jdbc7.2dev-1.2.jar) and it seems to fail quietly. Is is
supported yet? The code is as follows.
....
ObjectExample2 objectExample = new ObjectExample2();
System.out.println("Getting connected ... " );
con = objectExample.getConnected();
// add our custom type
HashMap map = new HashMap();
map.put("schema.DataObjectTest", Class.forName("DataObjectTest") );
con.setTypeMap( map );
// get the record and output the object
...
The program exits at the attempt to add the type map.
Any suggestions??
-- Art