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:- Aaron M. Renn (arenn@urbanophile.com)
getSQLTypeName
public String getSQLTypeName()
This method returns the user defined datatype name for this object.
Returns:
- The user defined data type name for this object.
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: