Home | Trees | Index | Help |
|
---|
Package Modeling :: Package DatabaseAdaptors :: Package OracleAdaptorLayer :: Module OracleAdaptor :: Class OracleAdaptor |
|
Adaptor
--+ |AbstractDBAPI2Adaptor
--+ | OracleAdaptor
Method Summary | |
---|---|
See Modeling.interfaces.Adaptor for details | |
TBD: doc. | |
Returns a connection object (opened using the administrativeConnectionDictionary) and a cursor adequate to perform adminstrative tasks on the database (i.e., mainly, adequate to create or drop databases). | |
Returns OracleSQLExpression | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
underlying_py_adaptor_module()
(Static method) | |
Inherited from AbstractDBAPI2Adaptor | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
TBD... | |
TBD... | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
See Modeling.interfaces.Adaptor for details | |
Inherited from Adaptor | |
See interfaces.Adaptor for details | |
| |
Returns the adaptor associated to the supplied model: it extracts the name of the adaptor to be used with the model then calls adaptorWithModel() Raises ValueError is parameter 'aModel' is None or if its adaptorName is empty. (Static method) | |
Returns the adaptor. (Static method) | |
See interfaces.Adaptor for details | |
See interfaces.Adaptor for details | |
See interfaces.Adaptor for details | |
Compares 'aModel' 's connectionDictionary with self's and returns the result | |
Returns the connectionDictionary | |
Returns all AdaptorContexts created and registered with this Adaptor | |
Returns the default delegate. (Static method) | |
Returns the delegate for that Adaptor ; when initialized the delegate is the one returned by defaultDelegate() | |
Returns the expression class to be used with the Adaptor. | |
Returns the expression class to be used by adaptor, or None if none was previously set with 'setExpressionClassForAdaptor()'. (Static method) | |
Unimplemented yet | |
Forwards the messages to all contexts() and returns 1 (true value) if at least one of these returned a true value, return 0 (false value) otherwise. | |
See interfaces.Adaptor for details | |
Returns the name that was used when the concrete Adaptor was instanciated. | |
See interfaces.Adaptor for details | |
Sets the connectionDictionary. | |
Sets the default delegate which is assigned to Adaptor instances when they are initialized. (Static method) | |
Sets the delegate (not used yet) | |
Sets the SQLExpression to use in conjonction with a particular adaptor. (Static method) |
Class Variable Summary | |
---|---|
Inherited from AbstractDBAPI2Adaptor | |
tuple |
__implements__ = (<class Modeling.interfaces.Adaptor.IAd...
|
Inherited from Adaptor | |
str |
__raise_exception__ = 'AbstractMethod'
|
str |
__raise_msg__ = 'Left intentionally unimplemented in thi...
|
Instance Method Details |
---|
createAdaptorContext(self)See Modeling.interfaces.Adaptor for details |
dbAPI_connectionDictionaryForConnect(self, aModelConnectionDictionary)TBD: doc. |
dbAPI_gimmeCnxAndCursorForDBAdmin(self, administrativeConnectionDictionary)Returns a connection object (opened using the administrativeConnectionDictionary) and a cursor adequate to perform adminstrative tasks on the database (i.e., mainly, adequate to create or drop databases). Note that depending on the underlying adaptor and the corresponding database, this can be more or less easy to provide. For example, Postgresql db does not allow any SQL statement like 'CREATE DATABASE' to be executed while a transaction is opened. Since the python DB-API implicitly requires that a transaction is automatically opened, a simple connect is not sufficient. To continue with postgresql, the python module 'psycopg' offers an 'autocommit()' method on connection to toggle the automatic opening of a transaction, while the 'pgdb' module requires some additional work with its underlying '_pg' module. Subclasses should override this method without calling the superclass' implementation. Parameter:
|
defaultExpressionClass(self)Returns OracleSQLExpression |
expressionFactory(self)See Modeling.interfaces.Adaptor for details |
schemaGenerationFactory(self)See Modeling.interfaces.Adaptor for details |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:21 2006 | http://epydoc.sf.net |