Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Alejandro Matos
@amatosg
@xtreme-uz there is a subgenerator for heroku, that should help you :)
kaffel
@kaffelmedhoussem:matrix.org
[m]
guys , Another newbie question I want to increment a score of entity , The question is : How Can i add a custom query to my repository and what are the steps ?
1 reply
kaffel
@kaffelmedhoussem:matrix.org
[m]
I am using microservice architecture
Alejandro Matos
@amatosg
create a class that extends your JpaRepository class and add a method with the @Query annotation
kaffel
@kaffelmedhoussem:matrix.org
[m]
@CGarces: I already watched those videos but i was a little bit beacuse i were using the microservice architecture . Anyway I created those new rests and it works fine for back and front.
Guys another newbie , Can I use the mailService for a customized scenario Like contact me page ... ?
1 reply
kaffel
@kaffelmedhoussem:matrix.org
[m]
:point_up: Edit: @CGarces: I already watched those videos but I was a little confused bit because I was using the microservice architecture. Anyway, I created those new rests and it works fine for back and front.
:point_up: Edit: Guys another newbie, How Can I use the mailService for a customized scenario Like the contact me page ...?
:point_up: Edit: @CGarces: I already watched those videos but I was a little bit confused because I was using the microservice architecture. Anyway, I created those new rests and it works fine for back and front.
saranshisatgit
@saranshisatgit
hello we would like to support /sponsor in creating a generator for the application based on JAVA as code , this is an open source template that we would like to add in the core code base also contact me for more info
Alejandro Matos
@amatosg
@kaffelmedhoussem:matrix.org you just create a template and fill the variables
Elmar Angao
@eangao
I bought an angular template in ThemeForest. Anyone can help me integrate it in my jhipster app.
Trần Ngọc Lương
@NgocThanhLuong
hi all

i'am trying build on gate-way service with local. but a dont open database h2 with http://localhost:8092. (Unable to access this website)
I try change config at .h2.server.properties and change webport: 9990. after I restart gate-way service and reopen database page but it is still h2 with http://localhost:8092 (Unable to access this website)

Both I dont go to H2 DB page. Unable to access this website.
How to fix ? Please !

Alejandro Matos
@amatosg
@eangao that's very time consuming, not an easy job :(
Trần Ngọc Lương
@NgocThanhLuong
hi all
1 reply

i'am trying build on gate-way service with local. but a dont open database h2 with http://localhost:8092. (Unable to access this website)
I try change config at .h2.server.properties and change webport: 9990. after I restart gate-way service and reopen database page but it is still h2 with http://localhost:8092 (Unable to access this website)

Both I dont go to H2 DB page. Unable to access this website.
How to fix ? Please !

zackzack02
@zackzack02
Hello all,
how to get the right node version for a specific Jhipster version ?
I want to give a try to the Primeng Blueprint, but is only supported on Jhipster 7.0.1.
So I would like to install the node js version corresponding to this Jhipster.
Alejandro Matos
@amatosg
install the blueprint and then just upgrade jhipster
haribalesh
@haribalesh
Between two ' .jh ' and ' .yo-rc.json' , which is good file to generate code ?
Do we have any need to generate code with .yo-rc.json file instead of .jh file ?
Alejandro Matos
@amatosg
the yo-rc is the generated file. The jh file is where you save your entity's structure
Daniel LaFlamme
@dlaflamme
so, suppose you have a monolithic app created with jhipster and it is so successful that people now want it to be highly-available. what does one do?
Alejandro Matos
@amatosg
you use kubernetes :)
Daniel LaFlamme
@dlaflamme
as a monolith, or restructured as a jhipster microservice?
V W
@vw98075
It is not the first time that I get out of memory during the test ("./mvnw verify"). All of near 90 tests fails. After some online search, I learn that JAVA_OPTS setting is needed. But I haven't figured out how to set it on MacBook. Any other solutions?
Heavenstar
@heavenstar627
Hi
I want to build log in page (customized) with jhipster, and also I have a plan to change all sites ( java spring + jsp) to react..
How do I start this work??
John Poole
@johnpoole
Is there a way to remove an entity?
Alejandro Matos
@amatosg
@dlaflamme it can also be used with monolithic projects
@vw98075 I had this problem before. I had to create another project and migrate my code :(
@johnpoole I would delete the backend entity and dto and then solve issues, then remove the frontend entity and also resolve
V W
@vw98075
@amatosg That was a backup solution I had in mind. Does your situation have something to do with H2?
Alejandro Matos
@amatosg
sorry I never use H2, I always use the same db has prod
V W
@vw98075
I still encounter the java heap space error after I run the test in a new project folder.
V W
@vw98075
In the CD, the same error occurs. So, increasing my local memory doesn't solve the problem.
Alejandro Matos
@amatosg
how much ram do you have?
V W
@vw98075
I saw about 4G memory usage increase during the integration test. I set Xmx to 8G in jvm.config and .zshrc without luck.
kaffel
@kaffelmedhoussem:matrix.org
[m]
Hello guys I am trying to create a new query, How can I test my queries with jhipster ?
"SELECT SUM(entity.software.price) FROM sales entity AS sales entity JOIN software entity AS software entity ON entity.software.id= entity.sales.software_id"
kaffel
@kaffelmedhoussem:matrix.org
[m]
SELECT SUM(software.price) FROM sales AS sales JOIN software AS software ON software.id= sales.software_id
this is my query with sql , I don t know how to make it with h2
Alejandro Matos
@amatosg
"SELECT SUM(entity.software.price) FROM sales entity AS sales entity JOIN software entity AS software entity ON entity.software.id= entity.sales.software_id" this won't work as "sales entity" is not valid
2 replies
are you querying from Hibernate or is it a native query?
kaffel
@kaffelmedhoussem:matrix.org
[m]
hibernate
kaffel
@kaffelmedhoussem:matrix.org
[m]
:point_up: Edit: @amatosg: hibernate
Angelo Tricarico
@pcrevenge_twitter
Hello guys, could somebody please give a look to this problem I'm having with Jhipster compilation? https://stackoverflow.com/questions/69515255/jhipster-problem-with-filer-attempt-to-recreate-a-file-for-type-during-comp
Alejandro Matos
@amatosg
try mvn clean install -DskipTests
zackzack02
@zackzack02
Hello all,
I would like to directly execute SQL statement in my app, so I use DriverManager.getConnection("jdbc:h2:file:./target/h2db/db/myApp;USER=MyApp").createStatement() in order to get a direct SQL connection to the H2 database (Bypassing JPA).
Since, the app will use a Mysql database when in production, I would like to write something that will chose automatically the current database url.
So how to have access to the spring boot connection property defined and used in the JHipster generated source?