Skip to content

Commit 034362b

Browse files
author
Dave Syer
committed
Explicit example for spring.jpa.properties.hibernate.*
Fixes gh-1636
1 parent 45a168a commit 034362b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1463,7 +1463,16 @@ following to your `application.properties`.
14631463
NOTE: Hibernate's own internal property name for this (if you happen to remember it
14641464
better) is `hibernate.hbm2ddl.auto`. You can set it, along with other Hibernate native
14651465
properties, using `spring.jpa.properties.*` (the prefix is stripped before adding them
1466-
to the entity manager). By default the DDL execution (or validation) is deferred until
1466+
to the entity manager). Example:
1467+
1468+
[indent=0]
1469+
----
1470+
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
1471+
----
1472+
1473+
passes `hibernate.globally_quoted_identifiers` to the Hibernate entity manager.
1474+
1475+
By default the DDL execution (or validation) is deferred until
14671476
the `ApplicationContext` has started. There is also a `spring.jpa.generate-ddl` flag, but
14681477
it is not used if Hibernate autoconfig is active because the `ddl-auto`
14691478
settings are more fine grained.

0 commit comments

Comments
 (0)