JProxy/src/main/resources/application.properties

29 lines
1.0 KiB
Properties

jproxy.username=user
jproxy.password=pass123
server.address=localhost
server.port=8080
#spring.datasource.driver-class-name=org.hsqldb.jdbc.JDBCDriver
spring.datasource.driver-class-name=org.h2.Driver
#spring.datasource.url=jdbc:hsqldb:file:db2/jproxy.h2db
spring.datasource.url=jdbc:h2:file:./db/jproxy.h2db;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=TRUE
spring.datasource.username=sa
spring.datasource.password=sa
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
#spring.jpa.hibernate.naming.implicit-strategy= naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console
# Templates reloading during development
#spring.thymeleaf.prefix=${project.base-dir}/src/main/resources/templates/
#spring.thymeleaf.cache=false
#
## Static resources reloading during development
#spring.resources.static-locations=${project.base-dir}/src/main/resources/static/
#spring.resources.cache.period=0