Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7eed7e2

Browse files
author
Thomasr
committed
#1173: Change return type of BLOB column to base64 string
1 parent48bb024 commit7eed7e2

File tree

1 file changed

+1
-1
lines changed
  • server/api-service/lowcoder-sdk/src/main/java/org/lowcoder/sdk/plugin/common/sql

1 file changed

+1
-1
lines changed

‎server/api-service/lowcoder-sdk/src/main/java/org/lowcoder/sdk/plugin/common/sql/ResultSetParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ private static Object getValue(ResultSet resultSet, int i, String typeName) thro
8181
//Convert binary data into base64
8282
Blobblob =resultSet.getBlob(i);
8383
byte[]blobBytes =blob.getBytes(1, (int)blob.length());
84-
returnMap.of("type","BLOB","length",blobBytes.length,"content",Base64.encodeBase64String(blobBytes));
84+
returnBase64.encodeBase64String(blobBytes);
8585
}
8686
returnresultSet.getObject(i);
8787
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp