Keywords: JDBC 3.0 methods, differences with embedded driver

# Differences in JDBC 3.0 methods

The following JDBC 3.0 methods are supported only with the Derby embedded driver. Attempts to call these methods with the network client driver will result in a "not implemented" error.

    Connection.prepareStatement(String sql, String[] columnNames)
    Connection.prepareStatement(String sql, int[] columnIndexes)

    Statement.execute(String sql, String[] columNames)
    Statement.execute(String sql, int[] columIndexes)
    Statement.executeUpdate(String sql, String[] columnNames)
    Statement.executeUpdate(String sql, int[] columnIndexes)

For more on the use of these methods, see the sections "java.sql.Connection interface: supported JDBC 3.0 methods", "java.sql.Statement interface: supported JDBC 3.0 methods", and "Autogenerated keys" in the Java DB Reference Manual.

Parent topic: Differences between running Derby in embedded mode and using the Network Server
Related concepts
Differences between the embedded client and the network client driver
Updatable Result Sets
User authentication differences
Differences using the Connection.setReadOnly method
Related reference
Error message differences