Package ch.qos.logback.core.db.dialect
Class DBUtil
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.db.dialect.DBUtil
- All Implemented Interfaces:
ContextAware
- Author:
- Ceki Gulcu
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SQLDialectCodestatic SQLDialectgetDialectFromCode(SQLDialectCode sqlDialectType)booleanThis method handles cases where theDatabaseMetaData.supportsBatchUpdates()method is missing in the JDBC driver implementation.booleanThis method handles cases where theDatabaseMetaData.supportsGetGeneratedKeys()method is missing in the JDBC driver implementation.Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
DBUtil
public DBUtil()
-
-
Method Details
-
discoverSQLDialect
-
getDialectFromCode
-
supportsGetGeneratedKeys
This method handles cases where theDatabaseMetaData.supportsGetGeneratedKeys()method is missing in the JDBC driver implementation. -
supportsBatchUpdates
This method handles cases where theDatabaseMetaData.supportsBatchUpdates()method is missing in the JDBC driver implementation.
-