Skip to content

Commit 6d554ea

Browse files
committed
feat: update param
Signed-off-by: Otavio Santana <[email protected]>
1 parent d0dbace commit 6d554ea

File tree

4 files changed

+2
-82
lines changed

4 files changed

+2
-82
lines changed

jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/mapping/JsonObjectUtil.java

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

jnosql-couchbase/src/main/java/org/eclipse/jnosql/databases/couchbase/mapping/N1QL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Annotation used to define a dynamic N1QL query in {@link CouchbaseRepository}.
2525
* <p>
2626
* This annotation allows repository methods to be mapped to Couchbase N1QL queries.
27-
* Parameters can be provided using the {@link Param} annotation.
27+
* Parameters can be provided using the {@link jakarta.data.repository.Param} annotation.
2828
* </p>
2929
*
3030
* <h2>Example Usage</h2>

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

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

jnosql-couchbase/src/test/java/org/eclipse/jnosql/databases/couchbase/mapping/CouchbaseDocumentRepositoryProxyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,6 @@ interface HumanRepository extends CouchbaseRepository<Human, String> {
133133
List<Human> findAllQuery();
134134

135135
@N1QL("select * from Person where name = $name")
136-
List<Human> findByName(@Param("name") String name);
136+
List<Human> findByName(String name);
137137
}
138138
}

0 commit comments

Comments
 (0)