Skip to content

Commit

Permalink
0002462: Replication does not restart after network reconnection between
Browse files Browse the repository at this point in the history
servers
  • Loading branch information
chenson42 committed Dec 8, 2015
1 parent e6981a6 commit bf5f5d1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -35,7 +35,7 @@ public PostgreSqlJdbcSqlTemplate(DataSource dataSource, SqlTemplateSettings sett
super(dataSource, settings, lobHandler, databaseInfo);
this.requiresAutoCommitFalseToSetFetchSize = true;
primaryKeyViolationSqlStates = new String[] { "23000", "23505" };
primaryKeyViolationMessageParts = new String[] {"duplicate key value violates"};
primaryKeyViolationMessageParts = new String[] {"duplicate key value violates", "duplicar valor da chave viola a restrição de unicidade"};

foreignKeyViolationMessageParts = new String[] {"violates foreign key constraint"};
}
Expand Down

0 comments on commit bf5f5d1

Please sign in to comment.