Mon premier commit
This commit is contained in:
14
src/main/resources/application.properties
Normal file
14
src/main/resources/application.properties
Normal file
@@ -0,0 +1,14 @@
|
||||
quarkus.http.port=8085
|
||||
|
||||
quarkus.swagger-ui.always-include=true
|
||||
quarkus.swagger-ui.path=/q/swagger-ui
|
||||
]quarkus.smallrye-openapi.path=/openapi
|
||||
|
||||
quarkus.datasource.db-kind=oracle
|
||||
quarkus.datasource.jdbc.url=jdbc:oracle:thin:@localhost:1521:ORCLCDB
|
||||
quarkus.datasource.username=C##AFTERWORK
|
||||
quarkus.datasource.password=afterwork
|
||||
quarkus.hibernate-orm.database.generation=drop-and-create
|
||||
quarkus.datasource.jdbc.driver=oracle.jdbc.OracleDriver
|
||||
quarkus.hibernate-orm.log.sql=true
|
||||
quarkus.datasource.devservices.enabled=false
|
||||
6
src/main/resources/import.sql
Normal file
6
src/main/resources/import.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- This file allow to write SQL commands that will be emitted in test and dev.
|
||||
-- The commands are commented as their support depends of the database
|
||||
-- insert into myentity (id, field) values(1, 'field-1');
|
||||
-- insert into myentity (id, field) values(2, 'field-2');
|
||||
-- insert into myentity (id, field) values(3, 'field-3');
|
||||
-- alter sequence myentity_seq restart with 4;
|
||||
Reference in New Issue
Block a user