32 lines
1.2 KiB
Properties
32 lines
1.2 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
|
|
|
|
# ===============================
|
|
# = 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.generate-ddl=false
|
|
spring.jpa.hibernate.ddl-auto = create
|
|
|
|
# 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
|
|
|