public abstract class ConnectionSourceBase extends ContextAwareBase implements ConnectionSource
| Constructor and Description |
|---|
ConnectionSourceBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
discoverConnectionProperties()
Learn relevant information about this connection source.
|
java.lang.String |
getPassword()
Get the password for this connection source.
|
SQLDialectCode |
getSQLDialectCode()
Get the SQL dialect that should be used for this connection.
|
java.lang.String |
getUser()
Get the user for this connection source.
|
boolean |
isStarted() |
void |
setPassword(java.lang.String password)
Sets the password.
|
void |
setUser(java.lang.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, getStatusManager, setContextequals, 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 java.lang.String getPassword()
public final void setPassword(java.lang.String password)
password - The password to setpublic final java.lang.String getUser()
public final void setUser(java.lang.String username)
username - The username to setpublic final boolean supportsBatchUpdates()
supportsBatchUpdates in interface ConnectionSourceCopyright © 2010 - 2023 Adobe. All Rights Reserved