public void setSqlValue(Object value, int column, PreparedStatement statement) throws SQLException, TypeCastException
{
OraclePreparedStatement oraclePreparedStatement = (OraclePreparedStatement) statement;
OpaqueDescriptor opaqueDescriptor = OpaqueDescriptor.createDescriptor("SYS.XMLTYPE", statement.getConnection());
OPAQUE opaque = new OPAQUE(opaqueDescriptor, (byte[]) typeCast(value), statement.getConnection());
oraclePreparedStatement.setOPAQUE(column, opaque);
}