Home | Trees | Index | Help |
|
---|
Package Modeling :: Package DatabaseAdaptors :: Package OracleAdaptorLayer :: Module OracleAdaptorChannel :: Class OracleAdaptorChannel |
|
AdaptorChannel
--+ |AbstractDBAPI2AdaptorChannel
--+ | OracleAdaptorChannel
Method Summary | |
---|---|
Overrides superclass implementation and alter the session's nls_date_format to be 'YYYY-MM-DD HH24:mi:ss', so that SQL queries including dates are correctly interpreted (this is the string format returned by a DCOracle2's OracleDate) | |
Generates and returns a list of dictionaries, whose keys are PK attributes' names and values the corresponding PK value. | |
Inherited from AbstractDBAPI2AdaptorChannel | |
See Modeling.interfaces.AdaptorChannel for details | |
| |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
| |
Builds the DELETE SQLExpression for 'aQualifier' and 'anEntity' ans executes it. | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
Implemented by concrete adaptors to return the number of rows that would be fetched if selectAttributes() is called with the same arguments. | |
See Modeling.interfaces.AdaptorChannel for details | |
See Modeling.interfaces.AdaptorChannel for details | |
Builds the UPDATE SQLExpression for 'row', 'aQualifier' and 'anEntity' and executes it. | |
Inherited from AdaptorChannel | |
See interfaces.AdaptorChannel for details | |
See interfaces.AdaptorChannel for details | |
See interfaces.AdaptorChannel for details | |
Calls 'deleteRowsDescribedByQualifier()' on itself and make sure that one and only one row was deleted. | |
See interfaces.AdaptorChannel for details | |
See interfaces.AdaptorChannel for details | |
Examines 'anAdaptorOperation' and executes the corresponding method. | |
Iterates on each item in 'adaptorOperations' and calls 'performAdaptorOperation()' with that item as a parameter. | |
See interfaces.AdaptorChannel for details | |
Calls 'updateValuesInRowsDescribedByQualifier' on itself and make sure that one and only one row was updated. |
Class Variable Summary | |
---|---|
int |
_count_for_execute = 0 |
Inherited from AbstractDBAPI2AdaptorChannel | |
tuple |
__implements__ = (<class Modeling.interfaces.AdaptorChan...
|
Method Details |
---|
openChannel(self)Overrides superclass implementation and alter the session's nls_date_format to be 'YYYY-MM-DD HH24:mi:ss', so that SQL queries including dates are correctly interpreted (this is the string format returned by a DCOracle2's OracleDate) |
primaryKeysForNewRowsWithEntity(self, count, anEntity)Generates and returns a list of dictionaries, whose keys are PK attributes' names and values the corresponding PK value. This implementation executes the following SQL statement: SELECT PK_SEQ_<entity.primaryKeyRootName()>.NEXTVAL FROM DUAL If 'anEntity' defines more than one PK (compound primary key), returns an empty list. Parameters:
|
Class Variable Details |
---|
_count_for_execute
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:21 2006 | http://epydoc.sf.net |