fr.gouv.culture.sdx.utils.database
Class JDBCDatabase
java.lang.Object
fr.gouv.culture.sdx.utils.SdxObjectImpl
fr.gouv.culture.sdx.utils.rdbms.JDBC
fr.gouv.culture.sdx.utils.rdbms.DataSourceComponentBacked
fr.gouv.culture.sdx.utils.database.AbstractJDBCDatabase
fr.gouv.culture.sdx.utils.database.JDBCDatabase
- All Implemented Interfaces:
- org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, Database, org.apache.avalon.framework.logger.LogEnabled, SdxObject
- Direct Known Subclasses:
- MYSQLDatabase
- public class JDBCDatabase
- extends AbstractJDBCDatabase
Created by IntelliJ IDEA.
User: Rasik Pandey
Date: 2 f�vr. 2004
Time: 14:51:22
To change this template use Options | File Templates.
Fields inherited from class fr.gouv.culture.sdx.utils.rdbms.JDBC |
id, tableName |
Methods inherited from class fr.gouv.culture.sdx.utils.database.AbstractJDBCDatabase |
addEntityToCache, addProperty, createIndicies, delete, delete, deleteEntityFromCache, empty, entityExists, getAllEntitiesQuery, getCreateIndiciesQuery, getDeleteAllQuery, getEntities, getEntities, getEntity, getEntity, getEntityDeleteQuery, getEntityFromCache, getEntityGetQuery, getEntityIds, getId, getProperties, getPropertyAddQuery, getPropertyRemoveQueryWithId, getPropertyRemoveQueryWithoutId, getPropertyValue, getPropertyValues, getTableCreationQuery, getWildcardSearchToken, init, isEntityInCache, refreshEntityCache, removeProperty, removeProperty, save, search, search, searchWithParams, setId, setProperties, size, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Methods inherited from interface org.apache.avalon.framework.component.Composable |
compose |
JDBCDatabase
public JDBCDatabase()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Overrides:
configure
in class AbstractJDBCDatabase
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
getConnection
public DatabaseConnection getConnection()
throws SDXException
- Throws:
SDXException
releaseConnection
public void releaseConnection(DatabaseConnection conn)
throws SDXException
- Throws:
SDXException
getDatabaseDirectoryName
public java.lang.String getDatabaseDirectoryName()
- Not needed
- Returns:
- A directory name (not a full path)
optimize
public void optimize()
throws SDXException
- Not needed
- Throws:
SDXException
Copyright © 2000-2004 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.