The ch.qos.logback.core.db package provides bases classes to append objects into various databases.
Most popular database systems, such as PostgreSQL, MySQL, Oracle, DB2 and MsSQL are supported.
Just as importantly, the way for obtaining JDBC connections is pluggable. Connections can be obtained through the traditional way of DriverManager, or alternatively as a DataSource. A DataSource can be instantiated directly or it can obtained through JNDI.
Interface Summary Interface Description ConnectionSource
Class Summary Class Description BindDataSourceToJNDIAction ConnectionSourceBase DataSourceConnectionSource DBAppenderBase<E> DBHelper DriverManagerConnectionSourceThe DriverManagerConnectionSource is an implementation of
ConnectionSourcethat obtains the Connection in the traditional JDBC manner based on the connection URL.