Class PreparedStatementLogger

    • Method Detail

      • newInstance

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

        public PreparedStatement getPreparedStatement()
        Return the wrapped prepared statement.
        Returns:
        the PreparedStatement