You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Eric SULTAN (JIRA)" <ji...@apache.org> on 2008/11/03 17:29:44 UTC
[jira] Created: (JDO-610) Support Nested Transaction or savePoint
in JDO 2.3
Support Nested Transaction or savePoint in JDO 2.3
--------------------------------------------------
Key: JDO-610
URL: https://issues.apache.org/jira/browse/JDO-610
Project: JDO
Issue Type: Wish
Reporter: Eric SULTAN
It would be very usefull if the next maintenance release of JDO allow nested transaction or savePoint if the RDBMS can do it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JDO-610) Support Nested Transaction or savePoint
in JDO 2.3
Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Jefferson updated JDO-610:
-------------------------------
Fix Version/s: (was: JDO 2 maintenance release 3)
Moving out of scope for 2.3 since no background work done for this yet; could be early feature for 2.4 if some scoping is provided
> Support Nested Transaction or savePoint in JDO 2.3
> --------------------------------------------------
>
> Key: JDO-610
> URL: https://issues.apache.org/jira/browse/JDO-610
> Project: JDO
> Issue Type: Wish
> Reporter: Eric SULTAN
>
> It would be very usefull if the next maintenance release of JDO allow nested transaction or savePoint if the RDBMS can do it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JDO-610) Support Nested Transaction or savePoint
in JDO 2.3
Posted by "Eric SULTAN (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric SULTAN updated JDO-610:
----------------------------
Fix Version/s: JDO 2 maintenance release 3
> Support Nested Transaction or savePoint in JDO 2.3
> --------------------------------------------------
>
> Key: JDO-610
> URL: https://issues.apache.org/jira/browse/JDO-610
> Project: JDO
> Issue Type: Wish
> Reporter: Eric SULTAN
> Fix For: JDO 2 maintenance release 3
>
>
> It would be very usefull if the next maintenance release of JDO allow nested transaction or savePoint if the RDBMS can do it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-610) Support Nested Transaction or savePoint
in JDO 2.3
Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646069#action_12646069 ]
Andy Jefferson commented on JDO-610:
------------------------------------
By requesting this, you presumably have something in mind, based on some JDO implementations vendor extension. Why not make a proposal ?
Something like "savepoints" would presumably be
Transaction.setSavepoint(String name);
Transaction.releaseSavepoint(String name);
Transaction.rollbackToSavepoint(String name);
We then need to consider behaviour with respect to flush() etc.
> Support Nested Transaction or savePoint in JDO 2.3
> --------------------------------------------------
>
> Key: JDO-610
> URL: https://issues.apache.org/jira/browse/JDO-610
> Project: JDO
> Issue Type: Wish
> Reporter: Eric SULTAN
> Fix For: JDO 2 maintenance release 3
>
>
> It would be very usefull if the next maintenance release of JDO allow nested transaction or savePoint if the RDBMS can do it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JDO-610) Support Nested Transaction or savePoint
in JDO 2.3
Posted by "Eric SULTAN (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646356#action_12646356 ]
Eric SULTAN commented on JDO-610:
---------------------------------
I see this feature in the kodo implementation. And it seems quite useful to have in JDO.
They use setSavepoint, releaseSavepoint and rollbackToSavepoint as you describe.
The best way in to use the setSavepoint of the the jdbc driver when it's available.
If it's not available to the target database, save all StateManager during the transaction and tag them when they are enlisted in a savepoint.
But, I don't know how to manage this savepoint in a global transaction manager (jta).
> Support Nested Transaction or savePoint in JDO 2.3
> --------------------------------------------------
>
> Key: JDO-610
> URL: https://issues.apache.org/jira/browse/JDO-610
> Project: JDO
> Issue Type: Wish
> Reporter: Eric SULTAN
> Fix For: JDO 2 maintenance release 3
>
>
> It would be very usefull if the next maintenance release of JDO allow nested transaction or savePoint if the RDBMS can do it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.