Comments (12)
I can start this task
from generator-jhipster-quarkus.
That worked! Thanks, @avdev4j.
from generator-jhipster-quarkus.
What is your advice? I read this guide: https://quarkus.io/guides/mongodb
What templates we have to add? Maybe a service and domain classes only? (it isn't as JPA with repository classes)
from generator-jhipster-quarkus.
The service layer shouldn't be impacted by the data persistent choice so we don't need to update it.
You should have a look to:
https://quarkus.io/guides/mongodb-panache
Quarkus proposes the repository pattern and active record. Since JHipster already relies on repository I think it's easier to stay on this pattern in a first version (even if it's not very Quarkus idiomatic)
So basically:
- Generate an Entity (I didn't test the following code...)
@MongoEntity(collection="ThePerson")
public class Person {
public ObjectId id;
public String name;
}
and a repostory
@ApplicationScoped
public class PersonRepository implements PanacheMongoRepository<Person> {
public Person findByName(String name){
return find("name", name).firstResult();
}
}
from generator-jhipster-quarkus.
Perfect! Working with reactive nosql database, I thought to use client classes, so the pattern with repository and entity classes was not usefull. But If we want to keep jhipster design, as your advice I use the same standard patter with mongodb-panache. Thanks
from generator-jhipster-quarkus.
"Better done, than perfect" I focus on delievery a 0.0.1 this month so I focus on the big fishes.
from generator-jhipster-quarkus.
"Better done, than perfect" I focus on delievery a 0.0.1 this month so I focus on the big fishes.
Right! it is the simple agile principle ;)... I did it also in my nodejs blueprint
from generator-jhipster-quarkus.
Is this covered by this PR?
The status on the PR isn't totally clear.
from generator-jhipster-quarkus.
Is this covered by this PR?
The status on the PR isn't totally clear.
Hi, the PR is in progress and not completed (you can consider that declined)
from generator-jhipster-quarkus.
@joewhite101 If you give me permissions to add labels to this repo, I can add a bug bounty to this issue.
from generator-jhipster-quarkus.
@avdev4j I don't think I have enough access. Can you give @mraible the access needed to add labels?
from generator-jhipster-quarkus.
I've just added @mraible as a maintainer of the project. Please Matt, tell me if is this is enough. Bug bounty labels are already created for this label.
from generator-jhipster-quarkus.
Related Issues (20)
- e2e test failure in application generated using imperative-ngx-oauth2-maven-mysql-caffeine.jdl
- Scheduled Native CI workflow jobs are failing with h2 dependency error
- Support Quarkus 2.16.1.Final version
- Upgrade Mongock dependency to v5.1.0 HOT 7
- Not able to run this blueprint HOT 5
- Unable to connect to Keycloak when running in a container
- Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './cli/utils' is not defined by "exports" in C:\Users\jpayneau\AppData\Roaming\npm\node_modules\generator-jhipster-quarkus\node_modules\generator-jhipster\package.json HOT 5
- Kotlin support? HOT 2
- `app.yml` docker file contains Spring specific environment properties to override configurations HOT 1
- Release v3.0 with Quarkus 3 support HOT 11
- Error when generate Jhipter and Quarkus in MacOS HOT 7
- "no file name or template provided" when importing from JDL file HOT 2
- Service classes in wrong package HOT 1
- Dependabot auto-merge needs workflows status requirements HOT 6
- ehcache caching option seems to not work HOT 1
- Error when generating a microservice application
- The build fails due to an error in your SCSS code. HOT 1
- Release 3.1.0 with JHipster 8.2 support HOT 4
- Classes not generated when creating a new microsservice application HOT 1
- CLI accepts any value as authentication type HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-jhipster-quarkus.