Jakarta Data #2740
graalvm-latest.yml
on: pull_request
build_matrix
3m 59s
Matrix: build
Annotations
103 errors and 1 warning
build (17, micronaut-doc-examples:micronaut-hibernate-reactive-example-java:nativeTest)
Process completed with exit code 1.
|
build (17, micronaut-doc-examples:micronaut-hibernate-example-java:nativeTest)
The job was canceled because "_17_micronaut-doc-examp_4" failed.
|
build (17, micronaut-doc-examples:micronaut-jdbc-and-r2dbc-example-java:nativeTest)
The job was canceled because "_17_micronaut-doc-examp_4" failed.
|
build (17, micronaut-doc-examples:micronaut-example-hibernate-and-jdbc:nativeTest)
The job was canceled because "_17_micronaut-doc-examp_4" failed.
|
build (17, micronaut-doc-examples:micronaut-hibernate-multitenancy-discriminator-example-java:nat...
The job was canceled because "_17_micronaut-doc-examp_4" failed.
|
build (17, micronaut-doc-examples:micronaut-jdbc-example-java:nativeTest)
The job was canceled because "_17_micronaut-doc-examp_4" failed.
|
BuildQuerySpec.test build DTO projection with pageable:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L470
java.lang.RuntimeException: test/MovieRepository$Intercepted.java:17: error: Unable to implement Repository method: MovieRepository.queryAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<MovieTitle> queryAll(Pageable pageable);
^
|
BuildQuerySpec.test count query with joins:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L911
java.lang.RuntimeException: test/AuthorRepository$Intercepted.java:23: error: Unable to implement Repository method: AuthorRepository.findByName(String name,String nickName,Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findByName(String name, String nickName, Pageable pageable);
^test/AuthorRepository$Intercepted.java:26: error: Unable to implement Repository method: AuthorRepository.findByNickName(String nickName,String name,Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findByNickName(String nickName, String name, Pageable pageable);
^test/AuthorRepository$Intercepted.java:29: error: Unable to implement Repository method: AuthorRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
BuildQuerySpec.test count query with joins - expressions:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L960
java.lang.RuntimeException: test/AuthorRepository$Intercepted.java:26: error: Unable to implement Repository method: AuthorRepository.findByName(String name,Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findByName(String name, Pageable pageable);
^test/AuthorRepository$Intercepted.java:30: error: Unable to implement Repository method: AuthorRepository.findByNickName(String nickName,Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findByNickName(String nickName, Pageable pageable);
^test/AuthorRepository$Intercepted.java:33: error: Unable to implement Repository method: AuthorRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
BuildQuerySpec.test count with join:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L1528
java.lang.RuntimeException: test/EntityWithIdClassRepository$Intercepted.java:23: error: Unable to implement Repository method: EntityWithIdClassRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
BuildQuerySpec.test association projection:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L1812
java.lang.RuntimeException: error: Unable to implement Repository method: BookRepository.findAllByStudentsNameIn(List names,Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.listPageableCustomQuery(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAllSorted(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAllSorted2(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findByTotalPagesGreaterThan(int totalPages,Pageable pageable). Method must accept an argument that is a Pageable
|
BuildQuerySpec.test find Pageable with join criteria:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L1914
java.lang.RuntimeException: test/WorkRequestRepository$Intercepted.java:21: error: Unable to implement Repository method: WorkRequestRepository.findByResourcesName(String name,Pageable pageable). Method must accept an argument that is a Pageable
Page<WorkRequest> findByResourcesName(String name, Pageable pageable);
^test/WorkRequestRepository$Intercepted.java:23: error: Unable to implement Repository method: WorkRequestRepository.findByResourcesKind(String kind,CursoredPageable pageable). Method must accept an argument that is a Pageable
CursoredPage<WorkRequest> findByResourcesKind(String kind, CursoredPageable pageable);
^
|
BuildQuerySpec.test JOIN pagination:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L2035
java.lang.RuntimeException: test/TestRepository$Intercepted.java:23: error: Unable to implement Repository method: TestRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
BuildQuerySpec.test JOIN pagination 2:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L2062
java.lang.RuntimeException: test/TestRepository$Intercepted.java:23: error: Unable to implement Repository method: TestRepository.findAllByStudentsNameIn(List names,Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAllByStudentsNameIn(List<String> names, Pageable pageable);
^
|
BuildQuerySpec.test JOIN query method:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L2116
java.lang.RuntimeException: test/TestRepository$Intercepted.java:25: error: Unable to implement Repository method: TestRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
CompositePrimaryKeySpec.test compile repository 2:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/CompositePrimaryKeySpec.groovy#L39
java.lang.RuntimeException: error: Unable to implement Repository method: CompanyRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
|
SqlParameterBindingSpec.test compile non-sql repository 2:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/SqlParameterBindingSpec.groovy#L163
java.lang.RuntimeException: error: Unable to implement Repository method: CompanyRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
|
AsyncSpec.test async method with completion stage list:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/async/AsyncSpec.groovy#L101
java.lang.RuntimeException: test/MyInterface$Intercepted.java:23: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
CompletionStage<Page<Person>> list(Pageable pageable);
^
|
AsyncSpec.test async method with completion stage listFullName:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/async/AsyncSpec.groovy#L101
java.lang.RuntimeException: test/MyInterface$Intercepted.java:23: error: Unable to implement Repository method: MyInterface.listFullName(Pageable pageable). Method must accept an argument that is a Pageable
CompletionStage<Page<FullNameDto>> listFullName(Pageable pageable);
^
|
AsyncSpec.test async method with completable future list:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/async/AsyncSpec.groovy#L167
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
CompletableFuture<Page<Person>> list(Pageable pageable);
^
|
AsyncSpec.test async method with future list:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/async/AsyncSpec.groovy#L209
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
Future<Page<Person>> list(Pageable pageable);
^
|
DtoSpec.test build repository with DTO projection:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/DtoSpec.groovy#L130
java.lang.RuntimeException: test/MyInterface$Intercepted.java:22: error: Unable to implement Repository method: MyInterface.searchByNameLike(String title,Pageable pageable). Method must accept an argument that is a Pageable
Page<PersonDto> searchByNameLike(String title, Pageable pageable);
^
|
PageSpec.test page method match:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L81
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
Page<Person> list(Pageable pageable);
^test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findByName(String title,Pageable pageable). Method must accept an argument that is a Pageable
Page<Person> findByName(String title, Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: DEFAULT, expectedJoin: JOIN, #0]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: INNER, expectedJoin: JOIN, #1]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: FETCH, expectedJoin: JOIN, #2]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: LEFT, expectedJoin: LEFT JOIN, #3]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: LEFT_FETCH, expectedJoin: LEFT JOIN, #4]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: RIGHT, expectedJoin: RIGHT JOIN, #5]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: RIGHT_FETCH, expectedJoin: RIGHT JOIN, #6]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: DEFAULT, expectedJoin: INNER JOIN, #0]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: INNER, expectedJoin: INNER JOIN, #1]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: FETCH, expectedJoin: INNER JOIN, #2]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: LEFT, expectedJoin: LEFT JOIN, #3]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: LEFT_FETCH, expectedJoin: LEFT JOIN, #4]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: RIGHT, expectedJoin: RIGHT JOIN, #5]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: RIGHT_FETCH, expectedJoin: RIGHT JOIN, #6]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: DEFAULT, expectedJoin: INNER JOIN, #0]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: INNER, expectedJoin: INNER JOIN, #1]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: FETCH, expectedJoin: INNER JOIN, #2]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: LEFT, expectedJoin: LEFT JOIN, #3]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: LEFT_FETCH, expectedJoin: LEFT JOIN, #4]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: RIGHT, expectedJoin: RIGHT JOIN, #5]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: RIGHT_FETCH, expectedJoin: RIGHT JOIN, #6]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test cursored page method match:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L273
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
CursoredPage<Person> list(Pageable pageable);
^test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findByName(String title,Pageable pageable). Method must accept an argument that is a Pageable
CursoredPage<Person> findByName(String title, Pageable pageable);
^
|
ParameterTypeDefSpec.test parameter type for query:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/ParameterTypeDefSpec.groovy#L76
java.lang.RuntimeException: error: Unable to implement Repository method: BookRepository.findAllByStudentsNameIn(List names,Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.listPageableCustomQuery(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAllSorted(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAllSorted2(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findByTotalPagesGreaterThan(int totalPages,Pageable pageable). Method must accept an argument that is a Pageable
|
QueryAnnotationSpec.test build CRUD repository with no named parameter support:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/QueryAnnotationSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.queryByName(String n,Pageable p). Method must accept an argument that is a Pageable
io.micronaut.data.model.Page<Person> queryByName(String n, Pageable p);
^
|
ReactiveSpec.test reactive method list:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/ReactiveSpec.groovy#L27
java.lang.RuntimeException: test/MyInterface$Intercepted.java:23: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
Flux<Page<Person>> list(Pageable pageable);
^
|
RecordsSpec.test reactive method with rxjava and record list:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/RecordsSpec.groovy#L62
java.lang.RuntimeException: test/MyInterface$Intercepted.java:21: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
Single<Page<Person>> list(Pageable pageable);
^
|
RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder findAllByName:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitorSpec.groovy#L110
Condition failed with Exception:
executableMethod.getValue(DataMethod, "pageable", String).get() == 'pager'
| | | | |
| | | | java.util.NoSuchElementException: No value present
| | | | at java.base/java.util.Optional.get(Optional.java:143)
| | | | at io.micronaut.data.processor.visitors.RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder #method(RepositoryTypeElementVisitorSpec.groovy:110)
| | | class java.lang.String
| | interface io.micronaut.data.intercept.annotation.DataMethod
| Optional.empty
List findAllByName(String name,Pageable pager)
|
RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder getAllByAgeGreaterThan:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitorSpec.groovy#L110
Condition failed with Exception:
executableMethod.getValue(DataMethod, "pageable", String).get() == 'pager'
| | | | |
| | | | java.util.NoSuchElementException: No value present
| | | | at java.base/java.util.Optional.get(Optional.java:143)
| | | | at io.micronaut.data.processor.visitors.RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder #method(RepositoryTypeElementVisitorSpec.groovy:110)
| | | class java.lang.String
| | interface io.micronaut.data.intercept.annotation.DataMethod
| Optional.empty
List getAllByAgeGreaterThan(int age,Pageable pager)
|
RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder retrieveAllByAgeLessThan:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitorSpec.groovy#L110
Condition failed with Exception:
executableMethod.getValue(DataMethod, "pageable", String).get() == 'pager'
| | | | |
| | | | java.util.NoSuchElementException: No value present
| | | | at java.base/java.util.Optional.get(Optional.java:143)
| | | | at io.micronaut.data.processor.visitors.RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder #method(RepositoryTypeElementVisitorSpec.groovy:110)
| | | class java.lang.String
| | interface io.micronaut.data.intercept.annotation.DataMethod
| Optional.empty
List retrieveAllByAgeLessThan(int age,Pageable pager)
|
TypeRoleSpec.test repository with addition type role as parameter list:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/TypeRoleSpec.groovy#L25
java.lang.RuntimeException: test/TypeRoleInterface$Intercepted.java:29: error: Unable to implement Repository method: TypeRoleInterface.list(Pageable pageable,Connection connection). Method must accept an argument that is a Pageable
Single<Page<Person>> list(Pageable pageable, Connection connection);
^
|
EntityTests.testCursoredPageOfNothing():
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/jakarta_data/entity/EntityTests.java#L1316
java.lang.ClassCastException: class jakarta.data.page.impl.PageRecord cannot be cast to class jakarta.data.page.CursoredPage (jakarta.data.page.impl.PageRecord and jakarta.data.page.CursoredPage are in unnamed module of loader 'app')
|
EntityTests.testQueryWithOr():
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/jakarta_data/entity/EntityTests.java#L1910
java.lang.ClassCastException: class jakarta.data.page.impl.PageRecord cannot be cast to class jakarta.data.page.CursoredPage (jakarta.data.page.impl.PageRecord and jakarta.data.page.CursoredPage are in unnamed module of loader 'app')
|
EntityTests.testFirstCursoredPageOf8AndNextPages():
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/jakarta_data/entity/EntityTests.java#L970
java.lang.ClassCastException: class jakarta.data.page.impl.PageRecord cannot be cast to class jakarta.data.page.CursoredPage (jakarta.data.page.impl.PageRecord and jakarta.data.page.CursoredPage are in unnamed module of loader 'app')
|
BuildQuerySpec.test build DTO projection with pageable:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L470
java.lang.RuntimeException: test/MovieRepository$Intercepted.java:17: error: Unable to implement Repository method: MovieRepository.queryAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<MovieTitle> queryAll(Pageable pageable);
^
|
BuildQuerySpec.test count query with joins:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L911
java.lang.RuntimeException: test/AuthorRepository$Intercepted.java:23: error: Unable to implement Repository method: AuthorRepository.findByName(String name,String nickName,Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findByName(String name, String nickName, Pageable pageable);
^test/AuthorRepository$Intercepted.java:26: error: Unable to implement Repository method: AuthorRepository.findByNickName(String nickName,String name,Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findByNickName(String nickName, String name, Pageable pageable);
^test/AuthorRepository$Intercepted.java:29: error: Unable to implement Repository method: AuthorRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
BuildQuerySpec.test count query with joins - expressions:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L960
java.lang.RuntimeException: test/AuthorRepository$Intercepted.java:26: error: Unable to implement Repository method: AuthorRepository.findByName(String name,Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findByName(String name, Pageable pageable);
^test/AuthorRepository$Intercepted.java:30: error: Unable to implement Repository method: AuthorRepository.findByNickName(String nickName,Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findByNickName(String nickName, Pageable pageable);
^test/AuthorRepository$Intercepted.java:33: error: Unable to implement Repository method: AuthorRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
BuildQuerySpec.test count with join:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L1528
java.lang.RuntimeException: test/EntityWithIdClassRepository$Intercepted.java:23: error: Unable to implement Repository method: EntityWithIdClassRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
BuildQuerySpec.test association projection:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L1812
java.lang.RuntimeException: error: Unable to implement Repository method: BookRepository.findAllByStudentsNameIn(List names,Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.listPageableCustomQuery(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAllSorted(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAllSorted2(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findByTotalPagesGreaterThan(int totalPages,Pageable pageable). Method must accept an argument that is a Pageable
|
BuildQuerySpec.test find Pageable with join criteria:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L1914
java.lang.RuntimeException: test/WorkRequestRepository$Intercepted.java:21: error: Unable to implement Repository method: WorkRequestRepository.findByResourcesName(String name,Pageable pageable). Method must accept an argument that is a Pageable
Page<WorkRequest> findByResourcesName(String name, Pageable pageable);
^test/WorkRequestRepository$Intercepted.java:23: error: Unable to implement Repository method: WorkRequestRepository.findByResourcesKind(String kind,CursoredPageable pageable). Method must accept an argument that is a Pageable
CursoredPage<WorkRequest> findByResourcesKind(String kind, CursoredPageable pageable);
^
|
BuildQuerySpec.test JOIN pagination:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L2035
java.lang.RuntimeException: test/TestRepository$Intercepted.java:23: error: Unable to implement Repository method: TestRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
BuildQuerySpec.test JOIN pagination 2:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L2062
java.lang.RuntimeException: test/TestRepository$Intercepted.java:23: error: Unable to implement Repository method: TestRepository.findAllByStudentsNameIn(List names,Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAllByStudentsNameIn(List<String> names, Pageable pageable);
^
|
BuildQuerySpec.test JOIN query method:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/BuildQuerySpec.groovy#L2116
java.lang.RuntimeException: test/TestRepository$Intercepted.java:25: error: Unable to implement Repository method: TestRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
CompositePrimaryKeySpec.test compile repository 2:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/CompositePrimaryKeySpec.groovy#L39
java.lang.RuntimeException: error: Unable to implement Repository method: CompanyRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
|
SqlParameterBindingSpec.test compile non-sql repository 2:
data-processor/src/test/groovy/io/micronaut/data/processor/sql/SqlParameterBindingSpec.groovy#L163
java.lang.RuntimeException: error: Unable to implement Repository method: CompanyRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageable
|
AsyncSpec.test async method with completion stage list:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/async/AsyncSpec.groovy#L101
java.lang.RuntimeException: test/MyInterface$Intercepted.java:23: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
CompletionStage<Page<Person>> list(Pageable pageable);
^
|
AsyncSpec.test async method with completion stage listFullName:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/async/AsyncSpec.groovy#L101
java.lang.RuntimeException: test/MyInterface$Intercepted.java:23: error: Unable to implement Repository method: MyInterface.listFullName(Pageable pageable). Method must accept an argument that is a Pageable
CompletionStage<Page<FullNameDto>> listFullName(Pageable pageable);
^
|
AsyncSpec.test async method with completable future list:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/async/AsyncSpec.groovy#L167
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
CompletableFuture<Page<Person>> list(Pageable pageable);
^
|
AsyncSpec.test async method with future list:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/async/AsyncSpec.groovy#L209
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
Future<Page<Person>> list(Pageable pageable);
^
|
DtoSpec.test build repository with DTO projection:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/DtoSpec.groovy#L130
java.lang.RuntimeException: test/MyInterface$Intercepted.java:22: error: Unable to implement Repository method: MyInterface.searchByNameLike(String title,Pageable pageable). Method must accept an argument that is a Pageable
Page<PersonDto> searchByNameLike(String title, Pageable pageable);
^
|
PageSpec.test page method match:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L81
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
Page<Person> list(Pageable pageable);
^test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findByName(String title,Pageable pageable). Method must accept an argument that is a Pageable
Page<Person> findByName(String title, Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: DEFAULT, expectedJoin: JOIN, #0]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: INNER, expectedJoin: JOIN, #1]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: FETCH, expectedJoin: JOIN, #2]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: LEFT, expectedJoin: LEFT JOIN, #3]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: LEFT_FETCH, expectedJoin: LEFT JOIN, #4]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: RIGHT, expectedJoin: RIGHT JOIN, #5]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join many to one [joinType: RIGHT_FETCH, expectedJoin: RIGHT JOIN, #6]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L125
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: DEFAULT, expectedJoin: INNER JOIN, #0]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: INNER, expectedJoin: INNER JOIN, #1]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: FETCH, expectedJoin: INNER JOIN, #2]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: LEFT, expectedJoin: LEFT JOIN, #3]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: LEFT_FETCH, expectedJoin: LEFT JOIN, #4]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: RIGHT, expectedJoin: RIGHT JOIN, #5]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc many to one [joinType: RIGHT_FETCH, expectedJoin: RIGHT JOIN, #6]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Book> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: DEFAULT, expectedJoin: INNER JOIN, #0]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: INNER, expectedJoin: INNER JOIN, #1]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: FETCH, expectedJoin: INNER JOIN, #2]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: LEFT, expectedJoin: LEFT JOIN, #3]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: LEFT_FETCH, expectedJoin: LEFT JOIN, #4]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: RIGHT, expectedJoin: RIGHT JOIN, #5]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test count query with join jdbc one to many [joinType: RIGHT_FETCH, expectedJoin: RIGHT JOIN, #6]:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L205
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findAll(Pageable pageable). Method must accept an argument that is a Pageable
Page<Author> findAll(Pageable pageable);
^
|
PageSpec.test cursored page method match:
data-hibernate-jpa/src/test/groovy/io/micronaut/data/hibernate/PageSpec.groovy#L273
java.lang.RuntimeException: test/MyInterface$Intercepted.java:18: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
CursoredPage<Person> list(Pageable pageable);
^test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.findByName(String title,Pageable pageable). Method must accept an argument that is a Pageable
CursoredPage<Person> findByName(String title, Pageable pageable);
^
|
ParameterTypeDefSpec.test parameter type for query:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/ParameterTypeDefSpec.groovy#L76
java.lang.RuntimeException: error: Unable to implement Repository method: BookRepository.findAllByStudentsNameIn(List names,Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.listPageableCustomQuery(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAll(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAllSorted(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findAllSorted2(Pageable pageable). Method must accept an argument that is a Pageableerror: Unable to implement Repository method: BookRepository.findByTotalPagesGreaterThan(int totalPages,Pageable pageable). Method must accept an argument that is a Pageable
|
QueryAnnotationSpec.test build CRUD repository with no named parameter support:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/QueryAnnotationSpec.groovy#L164
java.lang.RuntimeException: test/MyInterface$Intercepted.java:20: error: Unable to implement Repository method: MyInterface.queryByName(String n,Pageable p). Method must accept an argument that is a Pageable
io.micronaut.data.model.Page<Person> queryByName(String n, Pageable p);
^
|
ReactiveSpec.test reactive method list:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/ReactiveSpec.groovy#L27
java.lang.RuntimeException: test/MyInterface$Intercepted.java:23: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
Flux<Page<Person>> list(Pageable pageable);
^
|
RecordsSpec.test reactive method with rxjava and record list:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/RecordsSpec.groovy#L62
java.lang.RuntimeException: test/MyInterface$Intercepted.java:21: error: Unable to implement Repository method: MyInterface.list(Pageable pageable). Method must accept an argument that is a Pageable
Single<Page<Person>> list(Pageable pageable);
^
|
RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder findAllByName:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitorSpec.groovy#L110
Condition failed with Exception:
executableMethod.getValue(DataMethod, "pageable", String).get() == 'pager'
| | | | |
| | | | java.util.NoSuchElementException: No value present
| | | | at java.base/java.util.Optional.get(Optional.java:143)
| | | | at io.micronaut.data.processor.visitors.RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder #method(RepositoryTypeElementVisitorSpec.groovy:110)
| | | class java.lang.String
| | interface io.micronaut.data.intercept.annotation.DataMethod
| Optional.empty
List findAllByName(String name,Pageable pager)
|
RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder getAllByAgeGreaterThan:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitorSpec.groovy#L110
Condition failed with Exception:
executableMethod.getValue(DataMethod, "pageable", String).get() == 'pager'
| | | | |
| | | | java.util.NoSuchElementException: No value present
| | | | at java.base/java.util.Optional.get(Optional.java:143)
| | | | at io.micronaut.data.processor.visitors.RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder #method(RepositoryTypeElementVisitorSpec.groovy:110)
| | | class java.lang.String
| | interface io.micronaut.data.intercept.annotation.DataMethod
| Optional.empty
List getAllByAgeGreaterThan(int age,Pageable pager)
|
RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder retrieveAllByAgeLessThan:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/RepositoryTypeElementVisitorSpec.groovy#L110
Condition failed with Exception:
executableMethod.getValue(DataMethod, "pageable", String).get() == 'pager'
| | | | |
| | | | java.util.NoSuchElementException: No value present
| | | | at java.base/java.util.Optional.get(Optional.java:143)
| | | | at io.micronaut.data.processor.visitors.RepositoryTypeElementVisitorSpec.test JPA find all by dynamic finder #method(RepositoryTypeElementVisitorSpec.groovy:110)
| | | class java.lang.String
| | interface io.micronaut.data.intercept.annotation.DataMethod
| Optional.empty
List retrieveAllByAgeLessThan(int age,Pageable pager)
|
TypeRoleSpec.test repository with addition type role as parameter list:
data-processor/src/test/groovy/io/micronaut/data/processor/visitors/TypeRoleSpec.groovy#L25
java.lang.RuntimeException: test/TypeRoleInterface$Intercepted.java:29: error: Unable to implement Repository method: TypeRoleInterface.list(Pageable pageable,Connection connection). Method must accept an argument that is a Pageable
Single<Page<Person>> list(Pageable pageable, Connection connection);
^
|
build (17, micronaut-doc-examples:micronaut-hibernate-reactive-example-java:nativeTest)
This build uses the last update of Oracle GraalVM for JDK 17 under the GFTC. More details: https://github.com/marketplace/actions/github-action-for-graalvm#notes-on-oracle-graalvm-for-jdk-17
|