public class JDBCDatabaseConnection extends SQLDatabaseConnection
SdxObject.ConfigurationNode
_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitialized
CLASS_NAME_SUFFIX
DEFAULT_ENCODING
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
close, commit, getClassNameSuffix, getConnection, initToSax, initVolatileObjectsToSax, optimize, rollback, setAutoCommit
configure, configureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, service, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, toSAX, verifyConfigurationResources
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, setId
getDescription, setDescription
getEncoding, setEncoding
getLocale, getXmlLang, setLocale, setXmlLang
public JDBCDatabaseConnection(java.sql.Connection conn)
public JDBCDatabaseConnection(org.apache.avalon.excalibur.datasource.DataSourceComponent dataSource) throws java.sql.SQLException
dataSource
- java.sql.SQLException
public org.apache.avalon.excalibur.datasource.DataSourceComponent getDataSource()
protected void releaseSqlConnection() throws SDXException
SDXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.