public class DBUtil extends ContextAwareBase
Constructor and Description |
---|
DBUtil() |
Modifier and Type | Method and Description |
---|---|
static SQLDialectCode |
discoverSQLDialect(java.sql.DatabaseMetaData meta) |
static SQLDialect |
getDialectFromCode(SQLDialectCode sqlDialectType) |
boolean |
supportsBatchUpdates(java.sql.DatabaseMetaData meta)
This method handles cases where the
DatabaseMetaData.supportsBatchUpdates() method is missing in the JDBC
driver implementation. |
boolean |
supportsGetGeneratedKeys(java.sql.DatabaseMetaData meta)
This method handles cases where the
DatabaseMetaData.supportsGetGeneratedKeys() method is missing in the
JDBC driver implementation. |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
public static SQLDialectCode discoverSQLDialect(java.sql.DatabaseMetaData meta)
public static SQLDialect getDialectFromCode(SQLDialectCode sqlDialectType)
public boolean supportsGetGeneratedKeys(java.sql.DatabaseMetaData meta)
DatabaseMetaData.supportsGetGeneratedKeys()
method is missing in the
JDBC driver implementation.public boolean supportsBatchUpdates(java.sql.DatabaseMetaData meta)
DatabaseMetaData.supportsBatchUpdates()
method is missing in the JDBC
driver implementation.Copyright © 2010 - 2020 Adobe. All Rights Reserved