Skip to content

Commit

Permalink
Adjust XAException return codes for better compatibility with XA spec…
Browse files Browse the repository at this point in the history
…ification (#782)

There are three main adjustments
* XAException.XAER_RMFAIL is used when some connection error happens
  and it is expected that reconnection of RM could occur
* XAException.XAER_NOTA is used when RM does not know anything about the
  provided Xid
* XAException.XAER_PROTO is used when some wrong sequence of method
  calls is invoked

Fixes #236, #510, #683
  • Loading branch information
ochaloup authored and vlsi committed Mar 11, 2018
1 parent 61e1c30 commit e5aab1c
Show file tree
Hide file tree
Showing 36 changed files with 17,689 additions and 15,328 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
.classpath .classpath
.settings .settings
.project .project
.checkstyle
.DS_Store .DS_Store
.externalToolBuilders .externalToolBuilders
build build
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Avoid failure for `insert ... on conflict...update` for `reWriteBatchedInserts=true` case [PR 1130](https://github.com/pgjdbc/pgjdbc/pull/1130) - Avoid failure for `insert ... on conflict...update` for `reWriteBatchedInserts=true` case [PR 1130](https://github.com/pgjdbc/pgjdbc/pull/1130)
- fix: allowEncodingChanges should allow set client_encoding=... [PR 1125](https://github.com/pgjdbc/pgjdbc/pull/1125) - fix: allowEncodingChanges should allow set client_encoding=... [PR 1125](https://github.com/pgjdbc/pgjdbc/pull/1125)
- Wrong data from Blob/Clob when mark/reset is used [PR 971](https://github.com/pgjdbc/pgjdbc/pull/971) - Wrong data from Blob/Clob when mark/reset is used [PR 971](https://github.com/pgjdbc/pgjdbc/pull/971)
- Adjust XAException return codes for better compatibility with XA specification [PR 782](https://github.com/pgjdbc/pgjdbc/pull/782)


## [42.2.1] (2018-01-25) ## [42.2.1] (2018-01-25)
### Known issues ### Known issues
Expand Down
2,106 changes: 1,123 additions & 983 deletions pgjdbc/src/main/java/org/postgresql/translation/bg.po

Large diffs are not rendered by default.

0 comments on commit e5aab1c

Please sign in to comment.