
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The steps to create a new quarkus project named 'hibernate' with the main class 'tech.donau.bookresource' and a rest path '/weather'. It also sets up a mysql database with the given configuration and adds required extensions. Intended for university students studying quarkus and java-based development.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

mvn io.quarkus:quarkus-maven-plugin:1.2.1.Final:create -DprojectGroupId=tech.donau -DprojectArtifactId=hibernate -DclassName="tech.donau.BookResource" -Dpath="/weather"
docker run --name quarkus-db -e MYSQL_ROOT_PASSWORD=root -p 3310:3306 mysql ./mvwn quarkus:add-extension -Dextensions="resteasy-jsonb,hibernate-orm,jdbc-mysql" quarkus.datasource.driver=com.mysql.cj.jdbc.Driver quarkus.datasource.url=jdbc:mysql://localhost:3310/hello quarkus.datasource.username=root quarkus.datasource.password=root quarkus.datasource.min-size= quarkus.datasource.max-size= quarkus.hibernate-orm.database.generation=drop-and-create quarkus.hibernate-orm.dialect=org.hibernate.dialect.MySQL8Dialect