Class StatementLogger

    • Method Detail

      • newInstance

        public static Statement newInstance​(Statement stmt,
                                            Log statementLog,
                                            int queryStack)
        Creates a logging version of a Statement.
        Parameters:
        stmt - the statement
        statementLog - the statement log
        queryStack - the query stack
        Returns:
        the proxy
      • getStatement

        public Statement getStatement()
        return the wrapped statement.
        Returns:
        the statement