Class Driver42

  • All Implemented Interfaces:
    java.sql.Driver, ModuleControl

    public class Driver42
    extends InternalDriver

    Embedded JDBC driver for JDBC 4.2.

    • Constructor Detail

      • Driver42

        public Driver42()
    • Method Detail

      • newEmbedPreparedStatement

        public java.sql.PreparedStatement newEmbedPreparedStatement​(EmbedConnection conn,
                                                                    java.lang.String stmt,
                                                                    boolean forMetaData,
                                                                    int resultSetType,
                                                                    int resultSetConcurrency,
                                                                    int resultSetHoldability,
                                                                    int autoGeneratedKeys,
                                                                    int[] columnIndexes,
                                                                    java.lang.String[] columnNames)
                                                             throws java.sql.SQLException
        Overrides:
        newEmbedPreparedStatement in class InternalDriver
        Throws:
        java.sql.SQLException - if fails to create statement
      • newEmbedResultSet

        public EmbedResultSet newEmbedResultSet​(EmbedConnection conn,
                                                ResultSet results,
                                                boolean forMetaData,
                                                EmbedStatement statement,
                                                boolean isAtomic)
                                         throws java.sql.SQLException
        Description copied from class: InternalDriver
        Return a new java.sql.ResultSet instance for this implementation.
        Overrides:
        newEmbedResultSet in class InternalDriver
        Parameters:
        conn - Owning connection
        results - Top level of language result set tree
        forMetaData - Is this for meta-data
        statement - The statement that is creating the SQL ResultSet
        Returns:
        a new java.sql.ResultSet
        Throws:
        java.sql.SQLException
      • newEmbedCallableStatement

        public java.sql.CallableStatement newEmbedCallableStatement​(EmbedConnection conn,
                                                                    java.lang.String stmt,
                                                                    int resultSetType,
                                                                    int resultSetConcurrency,
                                                                    int resultSetHoldability)
                                                             throws java.sql.SQLException
        Overrides:
        newEmbedCallableStatement in class InternalDriver
        Throws:
        java.sql.SQLException - if fails to create statement