I currently get an SQLException when invoking the createArrayOf(String,Object) of the Connection class. My database is HSQL and the code used to generate the type is as follows:
create type FOO as BIGINT;
The java code I am invoking is as follows:
Connection conn = createConnection();
conn.createArrayOf("MySchema.FOO",data);
This also fails:
Connection conn = createConnection();
conn.createArrayOf("FOO",data);
The resulting output is:
Invalid argument in JDBC call: FOO
My question is how can I bind to a type that exists in a HSQL database, this is not an in memory instance.