You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Prashant Bhat (JIRA)" <ji...@apache.org> on 2011/07/22 08:34:57 UTC
[jira] [Created] (OPENJPA-2034) Update H2 Database sql error codes
as per the changes in v1.3.154
Update H2 Database sql error codes as per the changes in v1.3.154
-----------------------------------------------------------------
Key: OPENJPA-2034
URL: https://issues.apache.org/jira/browse/OPENJPA-2034
Project: OpenJPA
Issue Type: Bug
Components: jdbc, sql
Affects Versions: 2.1.0
Environment: H2 v1.3.154 or higher
Reporter: Prashant Bhat
SQL error state codes have been changed in H2 1.3.154 [1] With this change, many openjpa-jdbc-tests were failing. I've update the sql-error-state-codes.xml to use the correct codes, so it'll be great if the patch is reviewed and applied, Thanks.
Regards,
Prashant
[1] http://www.h2database.com/html/changelog.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OPENJPA-2034) Update H2 Database sql error codes
as per the changes in v1.3.154
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dick resolved OPENJPA-2034.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.2.0
Thanks for the patch. The changes will show up in the next nightly snapshot for 2.2.0.
> Update H2 Database sql error codes as per the changes in v1.3.154
> -----------------------------------------------------------------
>
> Key: OPENJPA-2034
> URL: https://issues.apache.org/jira/browse/OPENJPA-2034
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc, sql
> Affects Versions: 2.1.0
> Environment: H2 v1.3.154 or higher
> Reporter: Prashant Bhat
> Assignee: Michael Dick
> Fix For: 2.2.0
>
> Attachments: OPENJPA-2034.patch, OPENJPA-2034.patch
>
>
> SQL error state codes have been changed in H2 1.3.154 [1] With this change, many openjpa-jdbc-tests were failing. I've update the sql-error-state-codes.xml to use the correct codes, so it'll be great if the patch is reviewed and applied, Thanks.
> Regards,
> Prashant
> [1] http://www.h2database.com/html/changelog.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OPENJPA-2034) Update H2 Database sql error codes
as per the changes in v1.3.154
Posted by "Prashant Bhat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prashant Bhat updated OPENJPA-2034:
-----------------------------------
Attachment: OPENJPA-2034.patch
Patch attached
> Update H2 Database sql error codes as per the changes in v1.3.154
> -----------------------------------------------------------------
>
> Key: OPENJPA-2034
> URL: https://issues.apache.org/jira/browse/OPENJPA-2034
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc, sql
> Affects Versions: 2.1.0
> Environment: H2 v1.3.154 or higher
> Reporter: Prashant Bhat
> Attachments: OPENJPA-2034.patch
>
>
> SQL error state codes have been changed in H2 1.3.154 [1] With this change, many openjpa-jdbc-tests were failing. I've update the sql-error-state-codes.xml to use the correct codes, so it'll be great if the patch is reviewed and applied, Thanks.
> Regards,
> Prashant
> [1] http://www.h2database.com/html/changelog.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OPENJPA-2034) Update H2 Database sql error codes
as per the changes in v1.3.154
Posted by "Albert Lee (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Albert Lee closed OPENJPA-2034.
-------------------------------
Close issue in preparation for 2.2.0 release.
> Update H2 Database sql error codes as per the changes in v1.3.154
> -----------------------------------------------------------------
>
> Key: OPENJPA-2034
> URL: https://issues.apache.org/jira/browse/OPENJPA-2034
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc, sql
> Affects Versions: 2.1.0
> Environment: H2 v1.3.154 or higher
> Reporter: Prashant Bhat
> Assignee: Michael Dick
> Fix For: 2.2.0
>
> Attachments: OPENJPA-2034.patch, OPENJPA-2034.patch
>
>
> SQL error state codes have been changed in H2 1.3.154 [1] With this change, many openjpa-jdbc-tests were failing. I've update the sql-error-state-codes.xml to use the correct codes, so it'll be great if the patch is reviewed and applied, Thanks.
> Regards,
> Prashant
> [1] http://www.h2database.com/html/changelog.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OPENJPA-2034) Update H2 Database sql error
codes as per the changes in v1.3.154
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069544#comment-13069544 ]
Michael Dick commented on OPENJPA-2034:
---------------------------------------
Prashant, in the patch you removed some of the old state codes (e.g 23001 for object-exists). Were these values correct for older versions of H2?
What I'm getting at here is whether we can support the older versions of H2 with these changes.
> Update H2 Database sql error codes as per the changes in v1.3.154
> -----------------------------------------------------------------
>
> Key: OPENJPA-2034
> URL: https://issues.apache.org/jira/browse/OPENJPA-2034
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc, sql
> Affects Versions: 2.1.0
> Environment: H2 v1.3.154 or higher
> Reporter: Prashant Bhat
> Attachments: OPENJPA-2034.patch
>
>
> SQL error state codes have been changed in H2 1.3.154 [1] With this change, many openjpa-jdbc-tests were failing. I've update the sql-error-state-codes.xml to use the correct codes, so it'll be great if the patch is reviewed and applied, Thanks.
> Regards,
> Prashant
> [1] http://www.h2database.com/html/changelog.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (OPENJPA-2034) Update H2 Database sql error codes
as per the changes in v1.3.154
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dick reassigned OPENJPA-2034:
-------------------------------------
Assignee: Michael Dick
> Update H2 Database sql error codes as per the changes in v1.3.154
> -----------------------------------------------------------------
>
> Key: OPENJPA-2034
> URL: https://issues.apache.org/jira/browse/OPENJPA-2034
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc, sql
> Affects Versions: 2.1.0
> Environment: H2 v1.3.154 or higher
> Reporter: Prashant Bhat
> Assignee: Michael Dick
> Attachments: OPENJPA-2034.patch
>
>
> SQL error state codes have been changed in H2 1.3.154 [1] With this change, many openjpa-jdbc-tests were failing. I've update the sql-error-state-codes.xml to use the correct codes, so it'll be great if the patch is reviewed and applied, Thanks.
> Regards,
> Prashant
> [1] http://www.h2database.com/html/changelog.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OPENJPA-2034) Update H2 Database sql error codes
as per the changes in v1.3.154
Posted by "Prashant Bhat (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prashant Bhat updated OPENJPA-2034:
-----------------------------------
Attachment: OPENJPA-2034.patch
Yes, they were mostly working, except for locking tests. And it's good to keep the previous codes also, so the older H2 releases will still be supported. I've updated the patch accordingly. Thanks for the review.
> Update H2 Database sql error codes as per the changes in v1.3.154
> -----------------------------------------------------------------
>
> Key: OPENJPA-2034
> URL: https://issues.apache.org/jira/browse/OPENJPA-2034
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc, sql
> Affects Versions: 2.1.0
> Environment: H2 v1.3.154 or higher
> Reporter: Prashant Bhat
> Assignee: Michael Dick
> Attachments: OPENJPA-2034.patch, OPENJPA-2034.patch
>
>
> SQL error state codes have been changed in H2 1.3.154 [1] With this change, many openjpa-jdbc-tests were failing. I've update the sql-error-state-codes.xml to use the correct codes, so it'll be great if the patch is reviewed and applied, Thanks.
> Regards,
> Prashant
> [1] http://www.h2database.com/html/changelog.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira