Method Summary |
|
public boolean | getBatchMode() |
public ConnectionPoolDescriptor | getConnectionPoolDescriptor() Returns the connection pool descriptor. |
public DataSource | getDataSource() Returns the data source that this connection descriptor represents if any. |
public String | getDatasourceName() Gets the datasourceName. |
public String | getDbAlias() Returns the database alias name
used by OJB. |
public String | getDbms() Returns the database platform name. |
public String | getDriver() Returns the driver name. |
public boolean | getEagerRelease() |
public String | getJcdAlias() Get the alias name for this descriptor. |
public double | getJdbcLevel() Gets the jdbcLevel. |
public ObjectCacheDescriptor | getObjectCacheDescriptor() Returns the appropriate
ObjectCacheDescriptor or null if not specified. |
public PBKey | getPBKey() Return a key to identify the connection descriptor. |
public String | getPassWord() Returns the database password. |
public String | getProtocol() Returns the database protocol. |
public SequenceDescriptor | getSequenceDescriptor() Return the associated SequenceDescriptor
or null if not set. |
public String | getSubProtocol() Returns the database sub-protocol. |
public int | getUseAutoCommit() |
public String | getUserName() Returns the database user name. |
public boolean | isDataSource() |
public boolean | isDefaultConnection() |
public boolean | isIgnoreAutoCommitExceptions() |
public void | setBatchMode(boolean flag) |
public void | setConnectionPoolDescriptor(ConnectionPoolDescriptor cpd) Sets the connection pool descriptor. |
public void | setDataSource(DataSource dataSource) Sets the data source that this connection descriptor represents. |
public void | setDatasourceName(String datasourceName) Sets the datasourceName. |
public void | setDbAlias(String str) Sets the database alias name. |
public void | setDbms(String str) Sets the database platform name. |
public void | setDefaultConnection(boolean defaultConnection) |
public void | setDriver(String str) Set the database driver. |
public void | setEagerRelease(boolean flag) |
public void | setIgnoreAutoCommitExceptions(boolean ignoreAutoCommitExceptions) |
public void | setJcdAlias(String jcdAlias) Set an alias name for this descriptor. |
public void | setJdbcLevel(String jdbcLevel) Sets the jdbcLevel. |
public void | setJdbcLevel(double jdbcLevel) |
public void | setObjectCacheDescriptor(ObjectCacheDescriptor objectCacheDescriptor) Sets the
ObjectCacheDescriptor for representing connection/database. |
public void | setPassWord(String str) Sets the database password. |
public void | setProtocol(String str) Sets the database protocol. |
public void | setSequenceDescriptor(SequenceDescriptor sequenceDescriptor) Set the SequenceDescriptor for this
connection descriptor. |
public void | setSubProtocol(String str) Sets the database sub-protocol. |
public void | setUseAutoCommit(int useAutoCommit) |
public void | setUserName(String str) Sets the database user name. |
public String | toString() Returns a String representation of this class. |
public String | toXML() |