|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.gouv.culture.sdx.utils.AbstractSdxObject fr.gouv.culture.sdx.utils.database.SQLDatabaseConnection fr.gouv.culture.sdx.utils.database.JDBCDatabaseConnection
public class JDBCDatabaseConnection
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface fr.gouv.culture.sdx.utils.SdxObject |
---|
SdxObject.ConfigurationNode |
Field Summary |
---|
Fields inherited from class fr.gouv.culture.sdx.utils.AbstractSdxObject |
---|
_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitialized |
Fields inherited from interface fr.gouv.culture.sdx.utils.database.DatabaseConnection |
---|
CLASS_NAME_SUFFIX |
Fields inherited from interface fr.gouv.culture.sdx.utils.Encodable |
---|
DEFAULT_ENCODING |
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.database.SQLDatabaseConnection |
---|
close, commit, getClassNameSuffix, getConnection, initToSax, initVolatileObjectsToSax, optimize, rollback, setAutoCommit |
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 fr.gouv.culture.sdx.utils.Identifiable |
---|
getId, setId |
Methods inherited from interface fr.gouv.culture.sdx.utils.Describable |
---|
getDescription, setDescription |
Methods inherited from interface fr.gouv.culture.sdx.utils.Encodable |
---|
getEncoding, setEncoding |
Methods inherited from interface fr.gouv.culture.sdx.utils.Localizable |
---|
getLocale, getXmlLang, setLocale, setXmlLang |
Methods inherited from interface org.apache.excalibur.xml.sax.XMLizable |
---|
toSAX |
Constructor Detail |
---|
public JDBCDatabaseConnection(java.sql.Connection conn)
public JDBCDatabaseConnection(org.apache.avalon.excalibur.datasource.DataSourceComponent dataSource) throws java.sql.SQLException
dataSource
-
java.sql.SQLException
Method Detail |
---|
public org.apache.avalon.excalibur.datasource.DataSourceComponent getDataSource()
protected void releaseSqlConnection() throws SDXException
SDXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |