Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.sql

Interface SQLData

java.lang.Object
|
+--java.sql.SQLData


public interface SQLData

This interface is used for mapping SQL data to user defined datatypes.

Author:

Method Summary

java.lang.StringgetSQLTypeName()

This method returns the user defined datatype name for this object.
voidreadSQL(java.sql.SQLInput stream, java.lang.String typeName)

This method populates the data in the object from the specified stream.
voidwriteSQL(java.sql.SQLOutput stream)

This method writes the data in this object to the specified stream.

Method Details

getSQLTypeName

public String getSQLTypeName()

This method returns the user defined datatype name for this object.

Returns:

Throws:


readSQL

public void readSQL(java.sql.SQLInput stream, java.lang.String typeName)

This method populates the data in the object from the specified stream.

Parameters:

Throws:


writeSQL

public void writeSQL(java.sql.SQLOutput stream)

This method writes the data in this object to the specified stream.

Parameters:

Throws: