Home | Trees | Index | Help |
|
---|
Package Modeling :: Package DatabaseAdaptors :: Package PostgresqlAdaptorLayer :: Module PostgresqlAdaptorContext :: Class PostgresqlAdaptorContext |
|
AdaptorContext
--+ |AbstractDBAPI2AdaptorContext
--+ | PostgresqlAdaptorContext
Method Summary | |
---|---|
Invokes AbstractDBAPI2AdaptorContext.adaptorChannelDidClose(), then rollbacks the connection if it still exists (it might have been closed by the superclass' method depending on the configuration) AND if the adaptor uses psycopg AND if there is no more opened channels. | |
See also: Modeling.interfaces.AdaptorContext for details | |
Inherited from AbstractDBAPI2AdaptorContext | |
Initialization. | |
Starts a new transaction. | |
Commits the currently opened transaction. | |
Returns a 'cursor' for use by an AbstractDBAPI2AdaptorChannel when it is about to open the channel. | |
Rollbacks the currently opened transaction. | |
Inherited from AdaptorContext | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details | |
See interfaces.AdaptorContext for details |
Class Variable Summary | |
---|---|
Inherited from AbstractDBAPI2AdaptorContext | |
tuple |
__implements__ = (<class Modeling.interfaces.AdaptorCont...
|
Inherited from AdaptorContext | |
str |
__raise_exception__ = 'AbstractMethod'
|
str |
__raise_msg__ = 'Left intentionally unimplemented in thi...
|
Method Details |
---|
adaptorChannelDidClose(self, aChannel)Invokes AbstractDBAPI2AdaptorContext.adaptorChannelDidClose(), then rollbacks the connection if it still exists (it might have been closed by the superclass' method depending on the configuration) AND if the adaptor uses psycopg AND if there is no more opened channels. The reason for that is that psycopg insolates each connection from another, hence if an other process make changes to the database these changes wont be seen unless the connection itself is closed or rolled back. |
createAdaptorChannel(self)See also: Modeling.interfaces.AdaptorContext for details |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:24 2006 | http://epydoc.sf.net |