public class ORACLEDatabase extends JDBCDatabase
JDBC.QueryExecutor, JDBC.Template
SdxObject.ConfigurationNode
_searchModes, COLUMN_PARAM_INDEX_FIELD_ID, COLUMN_PARAM_INDEX_FIELD_PROPERTY_NAME, COLUMN_PARAM_INDEX_FIELD_PROPERTY_VALUE, FIELD_ID, FIELD_PROPERTY_NAME, FIELD_PROPERTY_VALUE
ATTRIBUTE_DSI, dbSelector, dsi
_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitialized
CLASS_NAME_SUFFIX, DATABASE_DIR_PATH, PACKAGE_QUALNAME, SEARCH_MODE_AND, SEARCH_MODE_NOT, SEARCH_MODE_OR
DEFAULT_ENCODING
ALL_SAVE_ATTRIB, PATH_ATTRIB, SAVE_DIRECTORY_PARAM
Constructor and Description |
---|
ORACLEDatabase() |
Modifier and Type | Method and Description |
---|---|
protected void |
createIndicies(java.sql.Connection conn)
Creates the index on the ID field.
|
protected java.lang.String |
getCreateIndiciesQuery(java.lang.String fieldName)
For performance reasons, we create an index on the ID field.
|
protected java.lang.String |
getTableCreationQuery()
Returns the CREATE TABLE statement.
|
void |
init()
Initialise l'entrepot.
|
void |
save(DatabaseEntity ent)
We slightly modify the default behaviour to insert a dummy property when
an entity has no property defined.
|
getDatabaseDirectoryName, getEntriesWithLimitQuery, initToSax, initVolatileObjectsToSax, optimize
addProperty, backup, configure, delete, delete, empty, entityExists, getAllEntitiesQuery, getClassNameSuffix, getConnection, getDeleteAllQuery, getEntities, getEntities, getEntity, getEntity, getEntityDeleteQuery, getEntityGetQuery, getEntityIds, getProperties, getPropertyAddQuery, getPropertyRemoveQueryWithId, getPropertyRemoveQueryWithoutId, getPropertyValue, getPropertyValues, getWildcardSearchToken, releaseConnection, removeProperty, removeProperty, restore, search, search, searchWithParams, size, update
finalize, getDataSourceComponent, releaseDataSourceComponent, service
createTable, getTableName, handleUnsupportedTokens
configureDescription, contextualize, enableLogging, getBaseAttributes, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, toSAX, verifyConfigurationResources
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, setId
getDescription, setDescription
getEncoding, setEncoding
getLocale, getXmlLang, setLocale, setXmlLang
protected java.lang.String getTableCreationQuery()
getTableCreationQuery
in class AbstractJDBCDatabase
protected java.lang.String getCreateIndiciesQuery(java.lang.String fieldName)
getCreateIndiciesQuery
in class AbstractJDBCDatabase
public void init() throws SDXException
init
in interface Database
init
in class AbstractJDBCDatabase
SDXException
protected void createIndicies(java.sql.Connection conn) throws SDXException
createIndicies
in class AbstractJDBCDatabase
SDXException
public void save(DatabaseEntity ent) throws SDXException
save
in interface Database
save
in class AbstractJDBCDatabase
SDXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.