public class Util extends ComponentBase
repository
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static int |
discoverSQLDialect(DatabaseMetaData meta) |
static SQLDialect |
getDialectFromCode(int dialectCode) |
boolean |
supportsBatchUpdates(DatabaseMetaData meta)
This method handles cases where the
DatabaseMetaData.supportsBatchUpdates() method is missing in the
JDBC driver implementation. |
boolean |
supportsGetGeneratedKeys(DatabaseMetaData meta)
This method handles cases where the
DatabaseMetaData.supportsGetGeneratedKeys() method is missing in the
JDBC driver implementation. |
getLogger, getLoggerRepository, getNonFloodingLogger, resetErrorCount, setLoggerRepository
public static int discoverSQLDialect(DatabaseMetaData meta)
public static SQLDialect getDialectFromCode(int dialectCode)
public boolean supportsGetGeneratedKeys(DatabaseMetaData meta)
DatabaseMetaData.supportsGetGeneratedKeys()
method is missing in the
JDBC driver implementation.public boolean supportsBatchUpdates(DatabaseMetaData meta)
DatabaseMetaData.supportsBatchUpdates()
method is missing in the
JDBC driver implementation.Copyright © 2002-2017 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.