public final class DataSourceImpl extends DataSourceSupport
ALLOW_ALL, ALLOW_ALTER, ALLOW_CREATE, ALLOW_DELETE, ALLOW_DROP, ALLOW_GRANT, ALLOW_INSERT, ALLOW_REVOKE, ALLOW_SELECT, ALLOW_UPDATE
Constructor and Description |
---|
DataSourceImpl(String name,
String className,
String host,
String dsn,
String database,
int port,
String username,
String password,
int connectionLimit,
int connectionTimeout,
long metaCacheTimeout,
boolean blob,
boolean clob,
int allow,
Struct custom,
boolean readOnly,
boolean validate,
boolean storage,
TimeZone timezone,
String dbdriver,
boolean literalTimestampWithTSOffset)
constructor of the class
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
DataSource |
cloneReadOnly() |
String |
getConnectionString() |
String |
getConnectionStringTranslated() |
String[] |
getCustomNames() |
Struct |
getCustoms() |
String |
getCustomValue(String key) |
String |
getDatabase() |
String |
getDbDriver() |
String |
getDsnOriginal() |
String |
getDsnTranslated() |
String |
getHost() |
boolean |
getLiteralTimestampWithTSOffset() |
int |
getPort() |
boolean |
validate() |
equals, getClazz, getConnectionLimit, getConnectionTimeout, getMetaCacheTimeout, getName, getPassword, getProcedureColumnCache, getTimeZone, getUsername, hasAllow, hashCode, hasSQLRestriction, id, isBlob, isClob, isReadOnly, isStorage, setClazz, toClass, toString
public DataSourceImpl(String name, String className, String host, String dsn, String database, int port, String username, String password, int connectionLimit, int connectionTimeout, long metaCacheTimeout, boolean blob, boolean clob, int allow, Struct custom, boolean readOnly, boolean validate, boolean storage, TimeZone timezone, String dbdriver, boolean literalTimestampWithTSOffset) throws ClassException
name
- className
- host
- dsn
- database
- port
- username
- password
- connectionLimit
- connectionTimeout
- blob
- clob
- allow
- custom
- readOnly
- ClassException
public String getDsnOriginal()
public String getConnectionString()
public String getDsnTranslated()
public String getConnectionStringTranslated()
public String getDatabase()
public int getPort()
public Object clone()
clone
in interface DataSource
clone
in class DataSourceSupport
public DataSource cloneReadOnly()
public String getCustomValue(String key)
public String[] getCustomNames()
public Struct getCustoms()
public boolean getLiteralTimestampWithTSOffset()
public boolean validate()
public String getDbDriver()
Copyright © 2015 Lucee