I'm trying to pass an array of values to Oracle DB from Java application. Right now my code looks like this:
java.sql.Connection c = getConnection();
java.sql.Array myArray = c.createArrayOf("CHAR", new Object[]{'c', 'd'});
But I receive a java.sql.SQLException: Unsupported feature
I'm using DB version 11 and Java 8. This should work accordingly to most of the examples I found on the web. What am I missing?