Example usage for java.sql DatabaseMetaData supportsMultipleOpenResults

List of usage examples for java.sql DatabaseMetaData supportsMultipleOpenResults

Introduction

In this page you can find the example usage for java.sql DatabaseMetaData supportsMultipleOpenResults.

Prototype

boolean supportsMultipleOpenResults() throws SQLException;

Source Link

Document

Retrieves whether it is possible to have multiple ResultSet objects returned from a CallableStatement object simultaneously.

Usage

From source file:Main.java

public static void main(String[] args) throws Exception {
    Connection conn = getHSQLConnection();

    DatabaseMetaData md = conn.getMetaData();
    System.out.println("supportsMultipleOpenResults - " + md.supportsMultipleOpenResults());

    conn.close();//from   w w w  . jav  a2 s. com
}