public class JDBCDatabaseConnection extends SQLDatabaseConnection
SdxObject.ConfigurationNode_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitializedCLASS_NAME_SUFFIXDEFAULT_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, setAutoCommitconfigure, configureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, service, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, toSAX, verifyConfigurationResourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, setIdgetDescription, setDescriptiongetEncoding, setEncodinggetLocale, getXmlLang, setLocale, setXmlLangpublic JDBCDatabaseConnection(java.sql.Connection conn)
public JDBCDatabaseConnection(org.apache.avalon.excalibur.datasource.DataSourceComponent dataSource)
throws java.sql.SQLException
dataSource - java.sql.SQLExceptionpublic org.apache.avalon.excalibur.datasource.DataSourceComponent getDataSource()
protected void releaseSqlConnection()
throws SDXException
SDXExceptionCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.