Skip to content

Commit

Permalink
SYMMETRICDS-532 - only fallback to update if the error is truly a pri…
Browse files Browse the repository at this point in the history
…mary key violation.
  • Loading branch information
chenson42 committed Oct 23, 2011
1 parent fef8852 commit ae80fbf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1741,7 +1741,7 @@ protected SQLException findSQLException(Throwable ex) {
} else {
Throwable cause = ex.getCause();
if (cause != null && !cause.equals(ex)) {
return findSQLException(ex);
return findSQLException(cause);
}
}
return null;
Expand Down

0 comments on commit ae80fbf

Please sign in to comment.