Open
Description
Hi guys, I would like to migrate from regular jdbc call stored procedure to r2dbc, problem is that original code use XmlType as input and output parameter is possible to rewrite it to work it? my original code is:
SQLXML inputXml = null;
SQLXML outputXml = null;
Connection connection = callableStatement.getConnection();
inputXml = connection.createSQLXML();
inputXml.setString(input);//input is xml as string
callableStatement.setSQLXML(1, inputXml);
callableStatement.setString(2, invocationId);
callableStatement.registerOutParameter(3, OracleTypes.VARCHAR);
callableStatement.registerOutParameter(4, Types.SQLXML, "SYS.XMLTYPE");
callableStatement.execute();
outputXml = callableStatement.getSQLXML(4);
thanks
Metadata
Metadata
Assignees
Labels
No labels