public abstract class ConnectionSourceSkeleton extends ComponentBase implements ConnectionSource
repositoryHSQL_DIALECT, MSSQL_DIALECT, MYSQL_DIALECT, ORACLE_DIALECT, POSTGRES_DIALECT, UNKNOWN_DIALECT| Constructor and Description |
|---|
ConnectionSourceSkeleton() |
| Modifier and Type | Method and Description |
|---|---|
void |
discoverConnnectionProperties()
Learn relevant information about this connection source.
|
String |
getOverriddenSupportsGetGeneratedKeys()
Returns the "overridden" value of "supportsGetGeneratedKeys" property of
the JDBC driver.
|
String |
getPassword()
Get the password for this connection source.
|
int |
getSQLDialectCode()
Get the SQL dialect that should be used for this connection.
|
String |
getUser()
Get the user for this connection source.
|
void |
setOverriddenSupportsGetGeneratedKeys(String overriddenSupportsGetGeneratedKeys)
Sets the "overridden" value of "supportsGetGeneratedKeys" property of the
JDBC driver.
|
void |
setPassword(String password)
Sets the password.
|
void |
setUser(String username)
Sets the username.
|
boolean |
supportsBatchUpdates()
Does this connection support batch updates?
|
boolean |
supportsGetGeneratedKeys()
Does this connection support the JDBC Connection.getGeneratedKeys method?
|
getLogger, getLoggerRepository, getNonFloodingLogger, resetErrorCount, setLoggerRepositoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionsetLoggerRepositorypublic void discoverConnnectionProperties()
public final boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys in interface ConnectionSourcepublic final int getSQLDialectCode()
ConnectionSourcegetSQLDialectCode in interface ConnectionSourcepublic final String getPassword()
public final void setPassword(String password)
password - The password to setpublic final String getUser()
public final void setUser(String username)
username - The username to setpublic String getOverriddenSupportsGetGeneratedKeys()
null if not overridden.public void setOverriddenSupportsGetGeneratedKeys(String overriddenSupportsGetGeneratedKeys)
overriddenSupportsGetGeneratedKeys - A non null string, with "true" or "false" value, if overridden,
null if not overridden.public final boolean supportsBatchUpdates()
supportsBatchUpdates in interface ConnectionSourceCopyright © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.