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, setContext
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnection
public void discoverConnectionProperties()
public final boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys
in interface ConnectionSource
public final SQLDialectCode getSQLDialectCode()
ConnectionSource
getSQLDialectCode
in interface ConnectionSource
public 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 ConnectionSource
Copyright © 2010 - 2020 Adobe. All Rights Reserved