org.apache.log4j.receivers.db

## Class DBHelper

- java.lang.Object
- - org.apache.log4j.receivers.db.DBHelper

-     public class DBHelper
      extends Object

  Author:
    Ceki Gülcü

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static short` | `EXCEPTION_EXISTS`
    `static short` | `PROPERTIES_EXIST`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DBHelper()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `closeConnection(Connection connection)`
    `static void` | `closeStatement(Statement statement)`
    `static short` | `computeReferenceMask(org.apache.log4j.spi.LoggingEvent event)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### PROPERTIES_EXIST

          public static final short PROPERTIES_EXIST

      See Also:
        Constant Field Values

    - #### EXCEPTION_EXISTS

          public static final short EXCEPTION_EXISTS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### DBHelper

          public DBHelper()

  - ### Method Detail

    - #### computeReferenceMask

          public static short computeReferenceMask(org.apache.log4j.spi.LoggingEvent event)

    - #### closeConnection

          public static void closeConnection(Connection connection)

    - #### closeStatement

          public static void closeStatement(Statement statement)

Copyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.