Example usage for java.sql SQLInput readInt

List of usage examples for java.sql SQLInput readInt

Introduction

In this page you can find the example usage for java.sql SQLInput readInt.

Prototype

int readInt() throws SQLException;

Source Link

Document

Reads the next attribute in the stream and returns it as an int in the Java programming language.

Usage

From source file:InsertCustomType_Oracle.java

public void readSQL(SQLInput stream, String sqlType) throws SQLException {
    this.isbn = stream.readString();
    this.title = stream.readString();
    this.author = stream.readString();
    this.edition = stream.readInt();
}