|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.rd.jdbc.DelegatingDataSource
|
+--com.solarmetric.rd.jdbc.ConfigurableDataSource
Delegating data source that allows some configuration of the underlying connections. Understands the following properties:
| Constructor Summary | |
ConfigurableDataSource(javax.sql.DataSource ds)
Constructor. |
|
| Method Summary | |
void |
addJDBCListener(com.solarmetric.rd.jdbc.JDBCListener listener)
Add an event listener. |
java.sql.Connection |
getConnection()
|
java.sql.Connection |
getConnection(java.lang.String user,
java.lang.String pass)
|
boolean |
getIgnoreTransactionMethods()
Set to true to create connections that ignore attmpts to begin and end transactions. |
int |
getQueryTimeout()
The number of seconds to wait for a query to execute before terminating it. |
int |
getTransactionIsolation()
The transaction isolation level. |
boolean |
removeJDBCListener(com.solarmetric.rd.jdbc.JDBCListener listener)
Remove an event listener. |
void |
setIgnoreTransactionMethods(boolean ignore)
Set to true to create connections that ignore attmpts to begin and end transactions. |
void |
setQueryTimeout(int timeout)
The number of seconds to wait for a query to execute before terminating it. |
void |
setTransactionIsolation(int isolation)
The transaction isolation level. |
void |
setTransactionIsolationLevel(java.lang.String isolation)
The transaction isolation level. |
| Methods inherited from class com.solarmetric.rd.jdbc.DelegatingDataSource |
appendInfo, equals, getDelegate, getInnermostDelegate, getLoginTimeout, getLogWriter, hashCode, setLoginTimeout, setLogWriter, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConfigurableDataSource(javax.sql.DataSource ds)
| Method Detail |
public int getQueryTimeout()
public void setQueryTimeout(int timeout)
public int getTransactionIsolation()
public void setTransactionIsolation(int isolation)
public void setTransactionIsolationLevel(java.lang.String isolation)
public boolean getIgnoreTransactionMethods()
DataSource already has its transactions controlled by an
external entity such as an application server, but you want to write
code that works without external transaction control too.
public void setIgnoreTransactionMethods(boolean ignore)
DataSource already has its transactions controlled by an
external entity such as an application server, but you want to write
code that works without external transaction control too.
public void addJDBCListener(com.solarmetric.rd.jdbc.JDBCListener listener)
public boolean removeJDBCListener(com.solarmetric.rd.jdbc.JDBCListener listener)
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface javax.sql.DataSourcegetConnection in class DelegatingDataSourcejava.sql.SQLException
public java.sql.Connection getConnection(java.lang.String user,
java.lang.String pass)
throws java.sql.SQLException
getConnection in interface javax.sql.DataSourcegetConnection in class DelegatingDataSourcejava.sql.SQLException
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||