free() - Teradata Vantage - Analytics Database

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-03-30
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
qnu1472247494689
lifecycle
latest
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.