log.fine("The return value of the query '" + sql + "' is '" + new String(buf) + "'");
assertEquals(sql, "<col name=\"colName\" encoding=\"base64\">PCFbQ0RBVEFbY29sVmFsdWVdXT4=</col>", new String(buf));
}
{ // needs CDATA col2xml(?, ?)
sql = "{? = call " + this.replPrefix + "test_clob(?,?,?,?)}"; // name text, content text)
CallableStatement st = conn.prepareCall(sql);
st.setString(2, "COL2XML");
st.setString(3, "c<olValue");
st.setString(4, "colName");
st.setLong(5, 1L);
st.registerOutParameter(1, Types.CLOB);