|
DODS 7.2 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,
com.lutris.util.Config dbConfig)
Creates and configures a single logical database with oracle specific enhancements. |
|
OracleLogicalDatabase(java.lang.String dbName,
com.lutris.util.Config dbConfig,
DatabaseManagerConfiguration dbManagerConf)
Creates and configures a single logical database with oracle specific enhancements. |
Method Summary | |
---|---|
com.lutris.appserver.server.sql.DBQuery |
createQuery()
Return a query for use on this logical database. |
com.lutris.appserver.server.sql.DBTransaction |
createTransaction()
Return a transaction for use on this oracle logical database. |
java.lang.String |
getType()
Return a description of the logical database type. |
com.lutris.appserver.server.sql.ConnectionAllocator |
loadConnectionAllocator(com.lutris.util.Config connectionConfig)
Return the connection allocator. |
ObjectIdAllocator |
loadObjectIdAllocator(com.lutris.util.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, com.lutris.util.Config dbConfig) throws com.lutris.util.ConfigException, java.sql.SQLException
dbName
- The logical name of the database.dbConfig
- The configuration object for this logical database.
com.lutris.util.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, com.lutris.util.Config dbConfig, DatabaseManagerConfiguration dbManagerConf) throws com.lutris.util.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.
com.lutris.util.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 com.lutris.appserver.server.sql.ConnectionAllocator loadConnectionAllocator(com.lutris.util.Config connectionConfig) throws com.lutris.util.ConfigException
loadConnectionAllocator
in class StandardLogicalDatabase
connectionConfig
- The configuration object for the connection allocator.
com.lutris.util.ConfigException
- If there is an error in the configuration file.public ObjectIdAllocator loadObjectIdAllocator(com.lutris.util.Config objIdConfig) throws com.lutris.util.ConfigException
loadObjectIdAllocator
in class StandardLogicalDatabase
objIdConfig
- The configuration object for the object id allocator.
com.lutris.util.ConfigException
- If there is an error in the configuration file.public com.lutris.appserver.server.sql.DBTransaction createTransaction() throws java.sql.SQLException
createTransaction
in interface com.lutris.appserver.server.sql.LogicalDatabase
createTransaction
in class StandardLogicalDatabase
java.sql.SQLException
- if a SQL error occurs.public com.lutris.appserver.server.sql.DBQuery createQuery() throws java.sql.SQLException
createQuery
in interface com.lutris.appserver.server.sql.LogicalDatabase
createQuery
in class StandardLogicalDatabase
java.sql.SQLException
- if a SQL error occurs.public java.lang.String getType()
getType
in interface com.lutris.appserver.server.sql.LogicalDatabase
getType
in class StandardLogicalDatabase
|
DODS 7.2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |