17.10 - free() - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

This method closes the SQLXML object and releases the resources that it held.


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.


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.