# Package ch.qos.logback.core.db

The ch.qos.logback.core.db package provides bases classes to append objects into various databases.

See: Description

Interface Summary
ConnectionSource: The <id>ConnectionSource</id> interface provides a pluggable means of transparently obtaining JDBC `Connection`s for logback classes that require the use of a `Connection`.

Class Summary
BindDataSourceToJNDIAction
ConnectionSourceBase
DataSourceConnectionSource: The DataSourceConnectionSource is an implementation of `ConnectionSource` that obtains the Connection in the recommended JDBC manner based on a `DataSource`.
DBAppenderBase<E>
DBHelper
DriverManagerConnectionSource: The DriverManagerConnectionSource is an implementation of `ConnectionSource` that obtains the Connection in the traditional JDBC manner based on the connection URL.
JNDIConnectionSource: The <id>JNDIConnectionSource</id> is an implementation of `ConnectionSource` that obtains a `DataSource` from a JNDI provider and uses it to obtain a `Connection`.

## Package ch.qos.logback.core.db Description

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.