Example usage for java.sql DatabaseMetaData supportsNamedParameters

List of usage examples for java.sql DatabaseMetaData supportsNamedParameters

Introduction

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

Prototype

boolean supportsNamedParameters() throws SQLException;

Source Link

Document

Retrieves whether this database supports named parameters to callable statements.

Usage

From source file:Main.java

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

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

    conn.close();// w w w.j  av  a  2s.c  o m
}