You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Catalina Wei (JIRA)" <ji...@apache.org> on 2008/06/11 04:37:44 UTC
[jira] Created: (OPENJPA-634) SQLException not reported from
Batched statement
SQLException not reported from Batched statement
------------------------------------------------
Key: OPENJPA-634
URL: https://issues.apache.org/jira/browse/OPENJPA-634
Project: OpenJPA
Issue Type: Bug
Components: jdbc
Affects Versions: 1.2.0
Reporter: Catalina Wei
Batched update resulted in SQLException was not propagated back to application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (OPENJPA-634) SQLException not reported from Batched
statement
Posted by "Albert Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Albert Lee closed OPENJPA-634.
------------------------------
> SQLException not reported from Batched statement
> ------------------------------------------------
>
> Key: OPENJPA-634
> URL: https://issues.apache.org/jira/browse/OPENJPA-634
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc
> Affects Versions: 1.2.0
> Reporter: Catalina Wei
> Assignee: Albert Lee
> Fix For: 1.2.0
>
>
> Batched update resulted in SQLException was not propagated back to application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (OPENJPA-634) SQLException not reported from
Batched statement
Posted by "Albert Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Albert Lee resolved OPENJPA-634.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
> SQLException not reported from Batched statement
> ------------------------------------------------
>
> Key: OPENJPA-634
> URL: https://issues.apache.org/jira/browse/OPENJPA-634
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc
> Affects Versions: 1.2.0
> Reporter: Catalina Wei
> Assignee: Albert Lee
> Fix For: 1.2.0
>
>
> Batched update resulted in SQLException was not propagated back to application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (OPENJPA-634) SQLException not reported from
Batched statement
Posted by "Albert Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Albert Lee reopened OPENJPA-634:
--------------------------------
Assignee: Albert Lee
The previous fixes did not completely correct the problem scenario.
In AbstractUpdateManager.flush(), it keeps track of 2 exception collections, one as a local variable in flush() and the 2nd one maintained by the prepare statement manger. These 2 collections are combined into a single collection and returned by flush().
This approach caused the return collection not maintaining the order of exceptions took place during the flush. Typically the first exception contains the relevant information about the cause of failure and it allows the application to examine the cause and perform appropriate recovery action.
Albert Lee.
> SQLException not reported from Batched statement
> ------------------------------------------------
>
> Key: OPENJPA-634
> URL: https://issues.apache.org/jira/browse/OPENJPA-634
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc
> Affects Versions: 1.2.0
> Reporter: Catalina Wei
> Assignee: Albert Lee
>
> Batched update resulted in SQLException was not propagated back to application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (OPENJPA-634) SQLException not reported from
Batched statement
Posted by "Catalina Wei (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Catalina Wei resolved OPENJPA-634.
----------------------------------
Resolution: Fixed
fix checked in under r666512
> SQLException not reported from Batched statement
> ------------------------------------------------
>
> Key: OPENJPA-634
> URL: https://issues.apache.org/jira/browse/OPENJPA-634
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc
> Affects Versions: 1.2.0
> Reporter: Catalina Wei
>
> Batched update resulted in SQLException was not propagated back to application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.