OpenAPI 1.0

com.aquafold.openapi.rdbms
Interface AQSQLArray


public interface AQSQLArray

This class describes a SQL ARRAY object.


Method Summary
 void free()
          This method frees the Array object and releases the resources that it holds
After free has been called, any attempt to invoke a method other than free will result in a SQLException being thrown.
 String getBaseTypeName()
          Retrieves the SQL type name of the elements in the array designated by this Array object.
 

Method Detail

getBaseTypeName

String getBaseTypeName()
                       throws Exception
Retrieves the SQL type name of the elements in the array designated by this Array object. If the elements are a built-in type, it returns the database-specific type name of the elements. If the elements are a user-defined type (UDT), this method returns the fully-qualified SQL type name.

Returns:
The name of the type.
Throws:
Exception - If an error occurs while attempting to access the type name.
If the JDBC driver does not support this method.
If the data field cannot be converted to SQL Array.

free

void free()
          throws Exception
This method frees the Array object and releases the resources that it holds
After free has been called, any attempt to invoke a method other than free will result in a SQLException being thrown. If free is called multiple times, the subsequent calls to free are treated as a no-op.

Throws:
Exception - If an error occurs releasing the Array's resources.
If the database vendor doesn't support this method.

OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.