Listing the System Functions Supported by a Database - Java JDBC

Java examples for JDBC:Database Meta Data

Description

Listing the System Functions Supported by a Database

Demo Code

import java.sql.Connection;
import java.sql.DatabaseMetaData;

public class Main {
  public static void main(String[] args) {
    try {//from   w w  w .  j a  v a 2s.com
      Connection connection = null;
      DatabaseMetaData dbmd = connection.getMetaData();

      // Get the list of system functions
      String[] systemFunctions = dbmd.getSystemFunctions().split(",\\s*");
    } catch (Exception e) {
    }
  }
}

Related Tutorials