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

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

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.