|
DODS 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sql.standard.StandardLogicalDatabase
com.lutris.appserver.server.sql.oracle.OracleLogicalDatabase
public class OracleLogicalDatabase
Represents a logical database with Oracle specific capabilities.
StandardLogicalDatabase
Field Summary |
---|
Fields inherited from class com.lutris.appserver.server.sql.standard.StandardLogicalDatabase |
---|
connectionAllocator, dbName, dbType, driver, driverClassName, objectIdAllocator, PARAMNAME_DRIV_DEP_CLASS, transactionFactory |
Constructor Summary | |
---|---|
OracleLogicalDatabase()
Default constructor to configure a single logical database. |
|
OracleLogicalDatabase(java.lang.String dbName,
Config dbConfig)
Creates and configures a single logical database with oracle specific enhancements. |
|
OracleLogicalDatabase(java.lang.String dbName,
Config dbConfig,
DatabaseManagerConfiguration dbManagerConf)
Creates and configures a single logical database with oracle specific enhancements. |
Method Summary | |
---|---|
DBQuery |
createQuery()
Return a query for use on this logical database. |
DBTransaction |
createTransaction()
Return a transaction for use on this oracle logical database. |
java.lang.String |
getType()
Return a description of the logical database type. |
ConnectionAllocator |
loadConnectionAllocator(Config connectionConfig)
Return the connection allocator. |
ObjectIdAllocator |
loadObjectIdAllocator(Config objIdConfig)
Return the object id allocator. |
Methods inherited from class com.lutris.appserver.server.sql.standard.StandardLogicalDatabase |
---|
allocateConnection, allocateObjectId, allocateObjectId, checkOId, checkOId, getActiveConnectionCount, getDatabaseConfiguration, getDisableFetchSizeWithMaxRows, getDriverClassName, getDriverDependencies, getDriverProperty, getMaxConnectionCount, getMaxConnectionCountDate, getName, getRequestCount, getResultSetConcurrency, getResultSetType, getUseCursorName, init, init, resetMaxConnectionCount, setUseCursorName, setUseCursorName, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleLogicalDatabase(java.lang.String dbName, Config dbConfig) throws ConfigException, java.sql.SQLException
dbName
- The logical name of the database.dbConfig
- The configuration object for this logical database.
ConfigException
- If there is an error in the configuration file.
java.sql.SQLException
- If a SQL error occurs.StandardLogicalDatabase.StandardLogicalDatabase(java.lang.String, com.lutris.util.Config, com.lutris.appserver.server.sql.DatabaseManagerConfiguration)
public OracleLogicalDatabase(java.lang.String dbName, Config dbConfig, DatabaseManagerConfiguration dbManagerConf) throws ConfigException, java.sql.SQLException
dbName
- The logical name of the database.dbConfig
- The configuration object for this logical database.dbManagerConf
- The configuration object of DatabaseManager.
ConfigException
- If there is an error in the configuration file.
java.sql.SQLException
- If a SQL error occurs.StandardLogicalDatabase.StandardLogicalDatabase(java.lang.String, com.lutris.util.Config, com.lutris.appserver.server.sql.DatabaseManagerConfiguration)
public OracleLogicalDatabase()
init()
method must be called to
configure the database.
StandardLogicalDatabase.StandardLogicalDatabase(java.lang.String, com.lutris.util.Config, com.lutris.appserver.server.sql.DatabaseManagerConfiguration)
Method Detail |
---|
public ConnectionAllocator loadConnectionAllocator(Config connectionConfig) throws ConfigException
loadConnectionAllocator
in class StandardLogicalDatabase
connectionConfig
- The configuration object for the connection allocator.
ConfigException
- If there is an error in the configuration file.public ObjectIdAllocator loadObjectIdAllocator(Config objIdConfig) throws ConfigException
loadObjectIdAllocator
in class StandardLogicalDatabase
objIdConfig
- The configuration object for the object id allocator.
ConfigException
- If there is an error in the configuration file.public DBTransaction createTransaction() throws java.sql.SQLException
createTransaction
in interface LogicalDatabase
createTransaction
in class StandardLogicalDatabase
java.sql.SQLException
- if a SQL error occurs.public DBQuery createQuery() throws java.sql.SQLException
createQuery
in interface LogicalDatabase
createQuery
in class StandardLogicalDatabase
java.sql.SQLException
- if a SQL error occurs.public java.lang.String getType()
getType
in interface LogicalDatabase
getType
in class StandardLogicalDatabase
|
DODS 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |