net.ontopia.persistence.proxy
Class DefaultConnectionFactory
java.lang.Object
net.ontopia.persistence.proxy.AbstractConnectionFactory
net.ontopia.persistence.proxy.DefaultConnectionFactory
- All Implemented Interfaces:
- ConnectionFactoryIF
public class DefaultConnectionFactory
- extends AbstractConnectionFactory
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readOnly
protected boolean readOnly
DefaultConnectionFactory
public DefaultConnectionFactory(Map properties,
boolean readOnly)
requestConnection
public Connection requestConnection()
throws SQLException
- Description copied from interface:
ConnectionFactoryIF
- INTERNAL: Requests a new connection object.
- Specified by:
requestConnection
in interface ConnectionFactoryIF
- Specified by:
requestConnection
in class AbstractConnectionFactory
- Throws:
SQLException
Copyright © 2000-2012 Ontopia.