|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.persistence.proxy.AbstractConnectionFactory
net.ontopia.persistence.proxy.DefaultConnectionFactory
public class DefaultConnectionFactory
INTERNAL: Connection factory that uses java.sql.DriverManager.getConnection(...). This connection factory does no connection pooling on its own, but one might achieve it if the JDBC driver itself supports it.
| Field Summary | |
|---|---|
protected boolean |
readOnly
|
| Fields inherited from class net.ontopia.persistence.proxy.AbstractConnectionFactory |
|---|
connstring, driver, password, properties, username |
| Constructor Summary | |
|---|---|
DefaultConnectionFactory(java.util.Map properties,
boolean readOnly)
|
|
| Method Summary | |
|---|---|
java.sql.Connection |
requestConnection()
INTERNAL: Requests a new connection object. |
| Methods inherited from class net.ontopia.persistence.proxy.AbstractConnectionFactory |
|---|
close, getConnectionString, getDriver, getPassword, getUserName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean readOnly
| Constructor Detail |
|---|
public DefaultConnectionFactory(java.util.Map properties,
boolean readOnly)
| Method Detail |
|---|
public java.sql.Connection requestConnection()
throws java.sql.SQLException
ConnectionFactoryIF
requestConnection in interface ConnectionFactoryIFrequestConnection in class AbstractConnectionFactoryjava.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||