db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2485) Add OO callback scheme for transaction commit & rollback at LanguageConnectionContext layer
Date Mon, 26 Mar 2007 15:19:32 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484133

Daniel John Debrunner commented on DERBY-2485:

In looking more at this it is probably best to make this callback scheme independent of the
language layer. A standalone transaction facility.
Then code from the store layers could also migrate to use its facilities. Currently many of
the methods on TransactionController perform
two actions, the first to get some object from a factory (e.g. a sort) and second to register
it to ensure it is cleaned up at end transaction time.
By having a single transaction facility the method to get an object could be directly from
the factory, passing in a transaction object and then
the object would register itself with the transaction as required.

> Add OO callback scheme for transaction commit & rollback at LanguageConnectionContext
> -------------------------------------------------------------------------------------------
>                 Key: DERBY-2485
>                 URL: https://issues.apache.org/jira/browse/DERBY-2485
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC, SQL
>            Reporter: Daniel John Debrunner
> Add a schemewhere objects can register to be notified before commit, rollback, savepoint/statement
rollback. This would be at the LCC layer so that it can be used by language elements and JDBC
elements. Benefits are code clarity, performance and consistent behaviour.
> Some discussion at:
> http://mail-archives.apache.org/mod_mbox/db-derby-dev/200703.mbox/%3c4600A695.5050506@apache.org%3e

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message