public abstract class JDBC extends AbstractSdxObject
| Modifier and Type | Class and Description |
|---|---|
static class |
JDBC.QueryExecutor |
protected static class |
JDBC.Template |
SdxObject.ConfigurationNode| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
tableName |
_configuration, _context, _description, _encoding, _id, _locale, _logger, _manager, _xmlizable_objects, _xmlLang, isToSaxInitializedDEFAULT_ENCODING| Constructor and Description |
|---|
JDBC() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createTable(java.sql.Connection conn)
Creates the table.
|
protected abstract java.lang.String |
getTableCreationQuery()
Returns an SQL query that could create the table.
|
protected java.lang.String |
getTableName()
Returns a table name used to store the repository's data.
|
protected java.lang.String |
handleUnsupportedTokens(java.lang.String name)
Should return a string after scanning
and handling any unsupported characters
an _identifier (i.e.table name, column name, etc.)
|
protected void |
initVolatileObjectsToSax()
Init the LinkedHashMap _xmlizable_volatile_objects with the objects in order to describ them in XML
Some objects need to be refresh each time a toSAX is called
|
configure, configureDescription, contextualize, enableLogging, getBaseAttributes, getClassNameSuffix, getConfiguration, getContext, getDescription, getEncoding, getId, getLocale, getLog, getServiceManager, getXmlLang, initToSax, service, setDescription, setEncoding, setId, setLocale, setUpSdxObject, setUpSdxObject, setXmlLang, toSAX, verifyConfigurationResourcesprotected java.lang.String getTableName()
protected abstract java.lang.String getTableCreationQuery()
This query should not have any parameter.
protected void createTable(java.sql.Connection conn)
throws SDXException
SDXExceptionprotected java.lang.String handleUnsupportedTokens(java.lang.String name)
name - The name to prepare for useprotected void initVolatileObjectsToSax()
initVolatileObjectsToSax in class AbstractSdxObjectCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.