|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionSource
The Connection
s for logback classes
that require the use of a Connection
.
For more information about this component, please refer to the online manual at
http://logback.qos.ch/manual/appenders.html#DBAppender
Method Summary | |
---|---|
Connection |
getConnection()
Obtain a Connection for use. |
SQLDialectCode |
getSQLDialectCode()
Get the SQL dialect that should be used for this connection. |
boolean |
supportsBatchUpdates()
If the connection does not support batch updates, we will avoid using them. |
boolean |
supportsGetGeneratedKeys()
If the connection supports the JDBC 3.0 getGeneratedKeys method, then we do not need any specific dialect support. |
Methods inherited from interface ch.qos.logback.core.spi.LifeCycle |
---|
isStarted, start, stop |
Method Detail |
---|
Connection getConnection() throws SQLException
Connection
for use. The client is
responsible for closing the Connection
when it is no
longer required.
SQLException
- if a Connection
could not be
obtainedSQLDialectCode getSQLDialectCode()
boolean supportsGetGeneratedKeys()
boolean supportsBatchUpdates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |