fr.gouv.culture.sdx.utils.database
Class JDBCDatabaseConnection
java.lang.Object
fr.gouv.culture.sdx.utils.AbstractSdxObject
fr.gouv.culture.sdx.utils.database.SQLDatabaseConnection
fr.gouv.culture.sdx.utils.database.JDBCDatabaseConnection
- All Implemented Interfaces:
- org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, DatabaseConnection, Describable, Encodable, Identifiable, Localizable, org.apache.avalon.framework.logger.LogEnabled, SdxObject, org.apache.avalon.framework.service.Serviceable, org.apache.excalibur.xml.sax.XMLizable
- public class JDBCDatabaseConnection
- extends SQLDatabaseConnection
Created by IntelliJ IDEA.
User: Rasik Pandey
Date: 2 févr. 2004
Time: 13:56:03
To change this template use Options | File Templates.
Fields inherited from class fr.gouv.culture.sdx.utils.AbstractSdxObject |
_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitialized |
Constructor Summary |
JDBCDatabaseConnection(java.sql.Connection conn)
DataSourceComponent fucntionality not desired and should be handled by caller |
JDBCDatabaseConnection(org.apache.avalon.excalibur.datasource.DataSourceComponent dataSource)
Establishes the data source component, a simple wrapper |
Method Summary |
org.apache.avalon.excalibur.datasource.DataSourceComponent |
getDataSource()
Returns the datasource component from which this connection was derived |
protected void |
releaseSqlConnection()
Releases the SQL Connection to the datasource |
Methods inherited from class fr.gouv.culture.sdx.utils.AbstractSdxObject |
configure, configureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, service, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, toSAX, verifyConfigurationResources |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface fr.gouv.culture.sdx.utils.SdxObject |
getLog |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Methods inherited from interface org.apache.avalon.framework.context.Contextualizable |
contextualize |
Methods inherited from interface org.apache.avalon.framework.service.Serviceable |
service |
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable |
configure |
Methods inherited from interface org.apache.excalibur.xml.sax.XMLizable |
toSAX |
JDBCDatabaseConnection
public JDBCDatabaseConnection(java.sql.Connection conn)
- DataSourceComponent fucntionality not desired and should be handled by caller
JDBCDatabaseConnection
public JDBCDatabaseConnection(org.apache.avalon.excalibur.datasource.DataSourceComponent dataSource)
throws java.sql.SQLException
- Establishes the data source component, a simple wrapper
- Parameters:
dataSource
-
- Throws:
java.sql.SQLException
getDataSource
public org.apache.avalon.excalibur.datasource.DataSourceComponent getDataSource()
- Returns the datasource component from which this connection was derived
releaseSqlConnection
protected void releaseSqlConnection()
throws SDXException
- Releases the SQL Connection to the datasource
- Throws:
SDXException
Copyright © 2000-2003 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.