43 lines
1.5 KiB
Properties
43 lines
1.5 KiB
Properties
|
#server.port=0
|
||
|
spring.mvc.throw-exception-if-no-handler-found=true
|
||
|
spring.jndi.ignore=true
|
||
|
spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS = false
|
||
|
spring.main.allow-bean-definition-overriding=true
|
||
|
|
||
|
# ===============================
|
||
|
# = CACHE
|
||
|
# ===============================
|
||
|
|
||
|
#spring.data.mongodb.database = myfrims_ims
|
||
|
#spring.data.mongodb.host = 192.168.2.12
|
||
|
#spring.data.mongodb.port = 27017
|
||
|
|
||
|
# App Properties
|
||
|
myfrims.app.jwtSecret = MyFr!msSecretKey
|
||
|
myfrims.app.jwtExpirationMs = 86400000
|
||
|
|
||
|
# ===============================
|
||
|
# = JPA / HIBERNATE
|
||
|
# ===============================
|
||
|
|
||
|
# Use spring.jpa.properties.* for Hibernate native properties (the prefix is
|
||
|
# stripped before adding them to the entity manager).
|
||
|
|
||
|
# Show or not log for each sql query
|
||
|
spring.jpa.show-sql = false
|
||
|
|
||
|
# Hibernate ddl auto (create, create-drop, update): with "update" the database
|
||
|
# schema will be automatically updated accordingly to java entities found in
|
||
|
# the project
|
||
|
#spring.jpa.hibernate.ddl-auto = update
|
||
|
|
||
|
# Naming strategy
|
||
|
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
|
||
|
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
|
||
|
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
||
|
spring.jpa.hibernate.use-new-id-generator-mappings= false
|
||
|
|
||
|
# Allows Hibernate to generate SQL optimized for a particular DBMS
|
||
|
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
|
||
|
|