Purpose
This method closes the SQLXML object and releases the resources that it held.
Syntax
void free() throws SQLException
Usage Notes
The SQL XML object becomes invalid and is neither readable nor writeable when this method is called.
After free is called, any attempt to invoke a method other than free will result in an SQLException being thrown. If free is called multiple times, the subsequent calls to free are treated as a no-op.
Exceptions
Throws SQLException if there is an error when trying to free the XML value. A database specific code “9752 (ERRUDFJAVAXML) <Failed to free XML object>” is returned.