Skip to content

Commit

Permalink
Update PreparedStatementImpl.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Paultagoras committed Dec 18, 2024
1 parent df5c4ae commit 57810b4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ private static String encodeObject(Object x) throws SQLException {
listString.append("]");

return listString.toString();
} else if (x instanceof Map<?, ?> tmpMap) {
} else if (x instanceof Map) {
Map<?, ?> tmpMap = (Map<?, ?>) x;
StringBuilder mapString = new StringBuilder();
mapString.append("{");
for (Object key : tmpMap.keySet()) {
Expand Down

0 comments on commit 57810b4

Please sign in to comment.