All Known Implementing Classes:
SQLOutputImpl
When an object of a class implementing the interface
SQLData is passed as an argument to an SQL statement, the
JDBC driver calls the method SQLData.getSQLType to
determine the kind of SQL
datum being passed to the database.
The driver then creates an instance of SQLOutput and
passes it to the method SQLData.writeSQL.
The method writeSQL in turn calls the
appropriate SQLOutput writer methods
writeBoolean, writeCharacterStream, and so on)
to write data from the SQLData object to
the SQLOutput output stream as the
representation of an SQL user-defined type.
1.2 - | Method from java.sql.SQLOutput Summary: |
|---|
| writeArray, writeAsciiStream, writeBigDecimal, writeBinaryStream, writeBlob, writeBoolean, writeByte, writeBytes, writeCharacterStream, writeClob, writeDate, writeDouble, writeFloat, writeInt, writeLong, writeNClob, writeNString, writeObject, writeRef, writeRowId, writeSQLXML, writeShort, writeString, writeStruct, writeTime, writeTimestamp, writeURL |
| Method from java.sql.SQLOutput Detail: |
|---|
ARRAY value to the stream. |
|
String
in the Java programming language. |
|
BLOB value to the stream. |
String
in the Java programming language. |
String
in the Java programming language. |
String
in the Java programming language. |
|
CLOB value to the stream. |
java.sql.Date object
in the Java programming language. |
String
in the Java programming language. |
String
in the Java programming language. |
String
in the Java programming language. |
String
in the Java programming language. |
NCLOB value to the stream. |
String
in the Java programming language. The driver converts this to a
SQL NCHAR or
NVARCHAR or LONGNVARCHAR value
(depending on the argument's
size relative to the driver's limits on NVARCHAR values)
when it sends it to the stream. |
SQLData object.
When the SQLData object is null, this
method writes an SQL NULL to the stream.
Otherwise, it calls the SQLData.writeSQL
method of the given object, which
writes the object's attributes to the stream.
The implementation of the method SQLData.writeSQ
calls the appropriate SQLOutput writer method(s)
for writing each of the object's attributes in order.
The attributes must be read from an SQLInput
input stream and written to an SQLOutput
output stream in the same order in which they were
listed in the SQL definition of the user-defined type. |
REF value to the stream. |
ROWID value to the stream. |
XML value to the stream. |
String
in the Java programming language. |
String
in the Java programming language. |
|
java.sql.Date object
in the Java programming language. |
java.sql.Date object
in the Java programming language. |
DATALINK value to the stream. |