Browse Source

cadena conexion

master
Juanjo 1 year ago
parent
commit
7450f499d6
1 changed files with 21 additions and 17 deletions
  1. +21
    -17
      src/main/resources/application.properties

+ 21
- 17
src/main/resources/application.properties View File

@ -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
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

Loading…
Cancel
Save