Skip to content

Evaluate spring-data on quarkus #37

@hohwille

Description

@hohwille

As a user of devon4j I want to use spring-data-jpa in my quarkus app.
Within this story, you should evaluate using spring-data-jpa in a quarkus app.

  • does it work out of the box in JVM?
  • does it even work in natvie binary when app is compiled with GraalVM AOT compiler?
  • can you find any limitations when using spring-data-jpa on quarkus (@query annotation, default methods, pagination support, QueryDSL integration)?

IMHO it would make sense to create a feature branch from our sample app and port it to spring-data-jpa replacing DAOs (https://github.com/devonfw-forge/devonfw-microservices/blob/main/reference-project/src/main/java/com/devonfw/demoquarkus/domain/dao/AnimalDAO.java) with Repositories.

devon4j documentation of repositories with sample code:
https://github.com/devonfw/devon4j/blob/master/documentation/guide-repository.asciidoc#repository

For the record: This is the issue where and why we introduced spring-data in oasp4j (pre-decessor of devon4j): oasp/oasp4j#626

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions