Example usage for java.sql SQLOutput writeInt

List of usage examples for java.sql SQLOutput writeInt

Introduction

In this page you can find the example usage for java.sql SQLOutput writeInt.

Prototype

void writeInt(int x) throws SQLException;

Source Link

Document

Writes the next attribute to the stream as a Java int.

Usage

From source file:InsertCustomType_Oracle.java

public void writeSQL(SQLOutput stream) throws SQLException {
    stream.writeString(this.isbn);
    stream.writeString(this.title);
    stream.writeString(this.author);
    stream.writeInt(this.edition);
}