Class LogMinerDatabaseStateWriter


  • public class LogMinerDatabaseStateWriter
    extends Object
    Utility class that can write the contents of several Oracle LogMiner tables to the connector's log if and only if DEBUG logging is enabled.
    Author:
    Chris Cranford
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
    • Constructor Detail

      • LogMinerDatabaseStateWriter

        public LogMinerDatabaseStateWriter()
    • Method Detail

      • logQueryResults

        private static void logQueryResults​(OracleConnection connection,
                                            String query)
                                     throws SQLException
        Helper method that dumps the result set of an arbitrary SQL query to the connector's logs.
        Parameters:
        connection - the database connection
        query - the query to execute
        Throws:
        SQLException - thrown if an exception occurs performing a SQL operation