org.apache.cocoon.components.language.markup.xsp
Class Cocoon2EsqlConnection
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.language.markup.xsp.AbstractEsqlConnection
org.apache.cocoon.components.language.markup.xsp.Cocoon2EsqlConnection
- All Implemented Interfaces:
- LogEnabled
public final class Cocoon2EsqlConnection
- extends AbstractEsqlConnection
This is the Cocoon2 specific part of an AbstractEsqlConnection.
- Version:
- CVS $Id: Cocoon2EsqlConnection.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Torsten Curdt
Methods inherited from class org.apache.cocoon.components.language.markup.xsp.AbstractEsqlConnection |
close, commit, createQuery, getAutoCommit, getMetaData, getMultipleResults, getProperties, getURL, rollback, setAutoCommit, setMultipleResults, setPassword, setProperty, setURL, setUser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cocoon2EsqlConnection
public Cocoon2EsqlConnection()
Cocoon2EsqlConnection
public Cocoon2EsqlConnection(Connection connection)
- Someone passed the connection
- Parameters:
connection
-
Cocoon2EsqlConnection
public Cocoon2EsqlConnection(DataSourceComponent datasource)
- Get the connection from the pool
- Parameters:
datasource
-
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection
in class AbstractEsqlConnection
- Throws:
SQLException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.