You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
public interface CustomerResource extends PanacheMongoRepositoryResource<CustomerRepository, Customer, BigInteger> {}
...
@ApplicationScoped
public class CustomerRepository implements PanacheMongoRepositoryBase<Customer, BigInteger> {}
...
The documentation says that the CRUD endpoints would be generated automatically but I don't get anything.
Expected behavior
I expect that, as mentioned by the documentation, the CRUD endpoints be generated automatically.
Actual behavior
I'm not sure when exactly these endpoints are supposed to be generated, at build-time or run-time, but I don't see any generated stuff. In fact, I'm even not sure how would one be supposed to see this generated code.
Describe the bug
Hello,
Using Quarkus 3.0.4.Final with the following POM:
and the following interface and implementation:
The documentation says that the CRUD endpoints would be generated automatically but I don't get anything.
Expected behavior
I expect that, as mentioned by the documentation, the CRUD endpoints be generated automatically.
Actual behavior
I'm not sure when exactly these endpoints are supposed to be generated, at build-time or run-time, but I don't see any generated stuff. In fact, I'm even not sure how would one be supposed to see this generated code.
How to Reproduce?
Reproducer:
Step to reproduce:
git clone https://github.com/nicolasduminil/docstore.git
cd docstore
mvn clean install
docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9b7bb6ccc1cc quarkus-nosql-tests/docstore-mongodb:1.0-SNAPSHOT "java -Djava.util.lo…" 24 minutes ago Up 24 minutes 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp, 8443/tcp docstore 8327c49723a9 mongo-express "/sbin/tini -- /dock…" 24 minutes ago Up 24 minutes 0.0.0.0:8081->8081/tcp, :::8081->8081/tcp mongo-express 11b8f6554af3 mongo "docker-entrypoint.s…" 24 minutes ago Up 24 minutes 0.0.0.0:27017->27017/tcp, :::27017->27017/tcp mongo
The container named
docstore
is the one supposed to contain the generated CRUD code. But looking in the JAR, there is nothing.Output of
uname -a
orver
Linux nicolas-XPS-15-9570 5.15.0-92-generic #102-Ubuntu SMP Wed Jan 10 09:33:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
java version "17.0.6" 2023-01-17 LTS Java(TM) SE Runtime Environment (build 17.0.6+9-LTS-190) Java HotSpot(TM) 64-Bit Server VM (build 17.0.6+9-LTS-190, mixed mode, sharing)
Quarkus version or git rev
3.0.4.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: /opt/apache-maven-3.9.5 Java version: 17.0.6, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk-17 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.15.0-92-generic", arch: "amd64", family: "unix"
Additional information
None
The text was updated successfully, but these errors were encountered: