free() - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

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.