public abstract class ConnectionSourceBase extends ContextAwareBase implements ConnectionSource
context| Constructor and Description |
|---|
ConnectionSourceBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
discoverConnectionProperties()
Learn relevant information about this connection source.
|
String |
getPassword()
Get the password for this connection source.
|
SQLDialectCode |
getSQLDialectCode()
Get the SQL dialect that should be used for this connection.
|
String |
getUser()
Get the user for this connection source.
|
boolean |
isStarted() |
void |
setPassword(String password)
Sets the password.
|
void |
setUser(String username)
Sets the username.
|
void |
start() |
void |
stop() |
boolean |
supportsBatchUpdates()
Does this connection support batch updates?
|
boolean |
supportsGetGeneratedKeys()
Does this connection support the JDBC Connection.getGeneratedKeys method?
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConnectionpublic void discoverConnectionProperties()
public final boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys in interface ConnectionSourcepublic final SQLDialectCode 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 final boolean supportsBatchUpdates()
supportsBatchUpdates in interface ConnectionSourceCopyright © 2005–2017 QOS.ch. All rights reserved.