Browse Source

SPR-5272: added sort to the categories that didn't have it

conversation
Thomas Risberg 16 years ago
parent
commit
e9877fa93a
  1. 10
      org.springframework.jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodes.java

10
org.springframework.jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodes.java

@ -105,7 +105,7 @@ public class SQLErrorCodes {
} }
public void setInvalidResultSetAccessCodes(String[] invalidResultSetAccessCodes) { public void setInvalidResultSetAccessCodes(String[] invalidResultSetAccessCodes) {
this.invalidResultSetAccessCodes = invalidResultSetAccessCodes; this.invalidResultSetAccessCodes = StringUtils.sortStringArray(invalidResultSetAccessCodes);
} }
public String[] getInvalidResultSetAccessCodes() { public String[] getInvalidResultSetAccessCodes() {
@ -129,7 +129,7 @@ public class SQLErrorCodes {
} }
public void setDataAccessResourceFailureCodes(String[] dataAccessResourceFailureCodes) { public void setDataAccessResourceFailureCodes(String[] dataAccessResourceFailureCodes) {
this.dataAccessResourceFailureCodes = dataAccessResourceFailureCodes; this.dataAccessResourceFailureCodes = StringUtils.sortStringArray(dataAccessResourceFailureCodes);
} }
public String[] getDataAccessResourceFailureCodes() { public String[] getDataAccessResourceFailureCodes() {
@ -137,7 +137,7 @@ public class SQLErrorCodes {
} }
public void setTransientDataAccessResourceCodes(String[] transientDataAccessResourceCodes) { public void setTransientDataAccessResourceCodes(String[] transientDataAccessResourceCodes) {
this.transientDataAccessResourceCodes = transientDataAccessResourceCodes; this.transientDataAccessResourceCodes = StringUtils.sortStringArray(transientDataAccessResourceCodes);
} }
public String[] getTransientDataAccessResourceCodes() { public String[] getTransientDataAccessResourceCodes() {
@ -153,7 +153,7 @@ public class SQLErrorCodes {
} }
public void setDeadlockLoserCodes(String[] deadlockLoserCodes) { public void setDeadlockLoserCodes(String[] deadlockLoserCodes) {
this.deadlockLoserCodes = deadlockLoserCodes; this.deadlockLoserCodes = StringUtils.sortStringArray(deadlockLoserCodes);
} }
public String[] getDeadlockLoserCodes() { public String[] getDeadlockLoserCodes() {
@ -161,7 +161,7 @@ public class SQLErrorCodes {
} }
public void setCannotSerializeTransactionCodes(String[] cannotSerializeTransactionCodes) { public void setCannotSerializeTransactionCodes(String[] cannotSerializeTransactionCodes) {
this.cannotSerializeTransactionCodes = cannotSerializeTransactionCodes; this.cannotSerializeTransactionCodes = StringUtils.sortStringArray(cannotSerializeTransactionCodes);
} }
public String[] getCannotSerializeTransactionCodes() { public String[] getCannotSerializeTransactionCodes() {

Loading…
Cancel
Save