O'Reilly logo

Database Programming with JDBC & Java, Second Edition by George Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

SQLOutput

Synopsis

Interface Name: java.sql.SQLOutput

Superclass: None

Immediate Subclasses: None

Interfaces Implemented: None

Availability: New as of JDK 1.2

Description

This interface represents a stream of data sent to a relational database. This interface is used by JDBC drivers and should never be used directly by a programmer.

Class Summary

  public interface SQLOutput {
    void writeArray(Array arr) throws SQLException;
    void writeAsciiStream(InputStream is) throws SQLException;
    void writeBigDecimal(java.math.BigDecimal bd) 
      throws SQLException;
    void writeBinaryStream(InputStream is) throws SQLException;
    void writeBlob(Blob bl) throws SQLException;
    void writeBoolean(boolean b) throws SQLException;
    void writeByte(byte b) throws SQLException;
    void writeBytes(byte[] data) throws SQLException;
    void writeCharacterStream(Reader rdr) throws SQLException;
    void writeClob(Clob cl) throws SQLException;
    void writeDate(Date d) throws SQLException;
    void writeDouble(double d) throws SQLException;
    void writeFloat(float f) throws SQLException;
    void writeInt(int i) throws SQLException;
    void writeLong(long l) throws SQLException;
    void writeObject(Object ob) throws SQLException;
    void writeRef(Ref ref) throws SQLException;
    void writeShort(short s) throws SQLException;
    void writeString(String str) throws SQLException;
    void writeStruct(Struct s) throws SQLException;
    void writeTime(Time t) throws SQLException;
    void writeTimestamp(Timestamp ts) throws SQLException;
}

Object Methods

writeArray( ), writeAsciiStream( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required