diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 88ae6cb..b575a90 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,25 +1,29 @@ server.port=9000 spring.thymeleaf.cache=false +server.compression.enabled=true +server.http2.enabled=true + +spring.data.rest.base-path=/api #BOLSA -bolsa.datasource.url=jdbc:mariadb://localhost:3306/bolsa -bolsa.datasource.username=bolsa -bolsa.datasource.password=1234 -bolsa.datasource.driver-class-name=org.mariadb.jdbc.Driver -bolsa.datasource.testWhileIdle=true -bolsa.datasource.validationQuery=SELECT 1 +persistente.datasource.url=jdbc:mariadb://localhost:3306/bolsa +persistente.datasource.username=bolsa +persistente.datasource.password=1234 +persistente.datasource.driver-class-name=org.mariadb.jdbc.Driver +persistente.datasource.testWhileIdle=true +persistente.datasource.validationQuery=SELECT 1 #JPA # none, validate, update, create-drop -bolsa.jpa.hibernate.ddl-auto=validate -bolsa.jpa.show-sql=true -bolsa.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB103Dialect -bolsa.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl -bolsa.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy +persistente.jpa.hibernate.ddl-auto=validate +persistente.jpa.show-sql=true +persistente.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB103Dialect +persistente.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl +persistente.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy -bbddh2.datasource.url=jdbc:h2:file:/home/public/h2 -bbddh2.datasource.username=sa -bbddh2.datasource.password= -bbddh2.datasource.driver-class-name=org.h2.Driver -bbddh2.jpa.show-sql=true -bbddh2.jpa.hibernate.ddl-auto=create-drop \ No newline at end of file +temporal.datasource.url=jdbc:h2:file:/home/public/h2 +temporal.datasource.username=sa +temporal.datasource.password= +temporal.datasource.driver-class-name=org.h2.Driver +temporal.jpa.show-sql=true +temporal.jpa.hibernate.ddl-auto=create-drop \ No newline at end of file