Skip to content

Commit 49af83f

Browse files
committed
fix: fix pgobject type parse error
1 parent f8bfe13 commit 49af83f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

backend/framework/src/main/java/org/jumpserver/chen/framework/datasource/base/BaseSQLActuator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ private void executeStatement(SQLExecutePlan plan, Statement statement, SQLQuery
171171
fs.add(HexUtils.bytesToHex((byte[]) obj));
172172
} else if (obj instanceof Blob) {
173173
fs.add(HexUtils.bytesToHex(((Blob) obj).getBytes(1, (int) ((Blob) obj).length())));
174+
} else if (obj.getClass().getSimpleName().equalsIgnoreCase("pgobject")) {
175+
fs.add(obj.toString());
174176
} else {
175177
fs.add(obj);
176178
}

0 commit comments

Comments
 (0)