Code WITH problems:
Statement stmt = conn.createStatement(); ResultSet rset = stmt.executeQuery(columnsSQL);
Could anyone, please, give me a clue on what might be happening? Let me know if I can submit further details of the issue.
String plsqlBlock = (String) blocks.next(); //get the plsql code from a file - this is working just fine CallableStatement cs = (CallableStatement) conn.prepareCall("begin execute immediate ?; end;"); cs.setString(1, plsqlBlock); int res = cs.executeUpdate();