Skip to content

Commit 296962b

Browse files
committed
feat: remove utils on orientdb
Signed-off-by: Otavio Santana <[email protected]>
1 parent 480a0d6 commit 296962b

File tree

4 files changed

+3
-80
lines changed

4 files changed

+3
-80
lines changed

jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/mapping/MapTypeUtil.java

Lines changed: 0 additions & 48 deletions
This file was deleted.

jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/mapping/OrientDBDocumentRepositoryProxy.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.eclipse.jnosql.mapping.core.query.AbstractRepository;
2020
import org.eclipse.jnosql.mapping.core.repository.DynamicReturn;
2121
import org.eclipse.jnosql.mapping.document.DocumentTemplate;
22+
import org.eclipse.jnosql.mapping.driver.ParamUtil;
2223
import org.eclipse.jnosql.mapping.metadata.EntitiesMetadata;
2324
import org.eclipse.jnosql.mapping.metadata.EntityMetadata;
2425
import org.eclipse.jnosql.mapping.semistructured.query.AbstractSemiStructuredRepositoryProxy;
@@ -96,7 +97,7 @@ public Object invoke(Object instance, Method method, Object[] args) throws Throw
9697
if (args == null || args.length == 0) {
9798
result = template.sql(sql.value());
9899
} else {
99-
Map<String, Object> params = MapTypeUtil.getParams(args, method);
100+
Map<String, Object> params = ParamUtil.INSTANCE.getParams(args, method);
100101
if (params.isEmpty()) {
101102
result = template.sql(sql.value(), args);
102103
} else {

jnosql-orientdb/src/main/java/org/eclipse/jnosql/databases/orientdb/mapping/Param.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

jnosql-orientdb/src/test/java/org/eclipse/jnosql/databases/orientdb/mapping/OrientDBDocumentRepositoryProxyTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*/
1515
package org.eclipse.jnosql.databases.orientdb.mapping;
1616

17+
import jakarta.data.repository.Param;
1718
import jakarta.inject.Inject;
1819
import jakarta.nosql.tck.entities.Person;
1920
import org.eclipse.jnosql.mapping.core.Converters;

0 commit comments

Comments
 (0)