(String[] matches)
| 61 | } |
| 62 | |
| 63 | protected boolean keyNamesMatch(String[] matches) { |
| 64 | for (String match : matches) { |
| 65 | if (match.equals(columnName)) { |
| 66 | return true; |
| 67 | } |
| 68 | } |
| 69 | for (String key : primaryKeyNames) { |
| 70 | for (String match : matches) { |
| 71 | if (key.equals(match)) { |
| 72 | return true; |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | return false; |
| 77 | } |
| 78 | |
| 79 | private void checkKeys(Object... primaryKeys) { |
| 80 | if (primaryKeys.length != primaryKeyNames.length) { |
no test coverage detected