[ 
https://issues.apache.org/jira/browse/DERBY-3687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599221#action_12599221
 ] 

Dag H. Wanvik commented on DERBY-3687:
--------------------------------------

Found this comment in Xact.java:

// SQL savepoint can't be nested inside other user defined savepoints. To 
// enforce this, we check if there are already user savepoint(SQL/JDBC)
// defined in the transaction. If yes, then throw an exception

So, does the client use the SQL version of savepoints (not documented), and 
that's
why they can't be nested? And if so, why?

> Make client driver allow nested savepoints
> ------------------------------------------
>
>                 Key: DERBY-3687
>                 URL: https://issues.apache.org/jira/browse/DERBY-3687
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Client
>            Reporter: Dag H. Wanvik
>
> Currently, only the embedded driver allows nested savepoints, cf. the 
> attached repro.
> In the interest of harmonizing the drivers it would be nice to make the 
> client driver allow this as well.

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

Reply via email to