Package org.apache.log4j.db.dialect
Class Util
java.lang.Object
org.apache.log4j.spi.ComponentBase
org.apache.log4j.db.dialect.Util
- All Implemented Interfaces:
Component
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
Fields inherited from class org.apache.log4j.spi.ComponentBase
repository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
static SQLDialect
getDialectFromCode
(int dialectCode) boolean
This method handles cases where theDatabaseMetaData.supportsBatchUpdates()
method is missing in the JDBC driver implementation.boolean
This method handles cases where theDatabaseMetaData.supportsGetGeneratedKeys()
method is missing in the JDBC driver implementation.Methods inherited from class org.apache.log4j.spi.ComponentBase
getLogger, getLoggerRepository, getNonFloodingLogger, resetErrorCount, setLoggerRepository
-
Field Details
-
POSTGRES_PART
- See Also:
-
MYSQL_PART
- See Also:
-
ORACLE_PART
- See Also:
-
MSSQL_PART
- See Also:
-
HSQL_PART
- See Also:
-
-
Constructor Details
-
Util
public Util()
-
-
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.
-