Skip to content

Commit b3c167c

Browse files
committed
feat: update document manger with the same signature
Signed-off-by: Otavio Santana <[email protected]>
1 parent 1f4dbaa commit b3c167c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jnosql-oracle-nosql/src/main/java/org/eclipse/jnosql/databases/oracle/communication/DefaultOracleNoSQLDocumentManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public Stream<CommunicationEntity> sql(String query) {
247247
public Stream<CommunicationEntity> sql(String query, Object... params) {
248248
Objects.requireNonNull(query, "query is required");
249249
Objects.requireNonNull(params, "params is required");
250-
List<FieldValue> fields = Arrays.stream(params).map(FieldValueConverter.INSTANCE::of).toList();
250+
List<FieldValue> fields = Arrays.stream(params).map(FieldValueConverter::of).toList();
251251
return executeSQL(query, fields).stream();
252252
}
253253

@@ -274,7 +274,7 @@ private List<CommunicationEntity> executeSQL(String sql, List<FieldValue> params
274274
}
275275
for (Map.Entry<String, FieldValue> entry : result) {
276276
if (isNotOracleField(entry)) {
277-
entity.add(Element.of(entry.getKey(), FieldValueConverter.INSTANCE.of(entry.getValue())));
277+
entity.add(Element.of(entry.getKey(), FieldValueConverter.of(entry.getValue())));
278278
}
279279
}
280280
var id = result.get(ORACLE_ID).asString().getValue().split(":")[1];

0 commit comments

Comments
 (0)