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
- public class Util
- extends ComponentBase
- Author:
- Ceki Gulcu
Constructor Summary |
Util()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
discoverSQLDialect
public static int discoverSQLDialect(DatabaseMetaData meta)
getDialectFromCode
public static SQLDialect getDialectFromCode(int dialectCode)
supportsGetGeneratedKeys
public boolean supportsGetGeneratedKeys(DatabaseMetaData meta)
- This method handles cases where the
DatabaseMetaData.supportsGetGeneratedKeys()
method is missing in the
JDBC driver implementation.
supportsBatchUpdates
public boolean supportsBatchUpdates(DatabaseMetaData meta)
- This method handles cases where the
DatabaseMetaData.supportsBatchUpdates()
method is missing in the
JDBC driver implementation.
Copyright 2000-2005 Apache Software Foundation.