@@ -1054,7 +1054,7 @@ for more details.
1054
1054
[[howto-use-custom-entity-manager]]
1055
1055
=== Use a custom EntityManagerFactory
1056
1056
To take full control of the configuration of the `EntityManagerFactory`, you need to add
1057
- a `@Bean` named " entityManagerFactory" . Spring Boot auto-configuration switches off its
1057
+ a `@Bean` named `` entityManagerFactory'' . Spring Boot auto-configuration switches off its
1058
1058
entity manager based on the presence of a bean of that type.
1059
1059
1060
1060
@@ -1109,7 +1109,7 @@ might be able to use a JTA transaction manager spanning both.
1109
1109
Spring doesn't require the use of XML to configure the JPA provider, and Spring Boot
1110
1110
assumes you want to take advantage of that feature. If you prefer to use `persistence.xml`
1111
1111
then you need to define your own `@Bean` of type `LocalEntityManagerFactoryBean` (with
1112
- id " entityManagerFactory" , and set the persistence unit name there.
1112
+ id `` entityManagerFactory'' , and set the persistence unit name there.
1113
1113
1114
1114
See
1115
1115
https://github.com/spring-projects/spring-boot/blob/master/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaBaseConfiguration.java[`JpaBaseConfiguration`]
@@ -1220,11 +1220,10 @@ independence: usually only one or at most couple of platforms is needed.
1220
1220
To automatically run Flyway database migrations on startup, add the
1221
1221
`org.flywaydb:flyway-core` to your classpath.
1222
1222
1223
- The migrations are scripts in the form `V<VERSION>__<NAME>.sql` (with
1224
- `<VERSION>` an underscore-separated version, e.g. "1" or "2_1"). By
1225
- default they live in a folder `classpath:db/migration` but you can
1226
- modify that using `flyway.locations` (a list). See the Flyway class from
1227
- flyway-core for details of available settings like schemas etc. In
1223
+ The migrations are scripts in the form `V<VERSION>__<NAME>.sql` (with `<VERSION>` an
1224
+ underscore-separated version, e.g. ``1'' or ``2_1''). By default they live in a folder
1225
+ `classpath:db/migration` but you can modify that using `flyway.locations` (a list). See
1226
+ the Flyway class from flyway-core for details of available settings like schemas etc. In
1228
1227
addition Spring Boot provides a small set of properties in
1229
1228
{sc-spring-boot-autoconfigure}/flyway/FlywayProperties.{sc-ext}[`FlywayProperties`]
1230
1229
that can be used to disable the migrations, or switch off the location checking.
@@ -1555,7 +1554,7 @@ archive as normal. To make it executable:
1555
1554
. Use the appropriate launcher as a `Main-Class`, e.g. `JarLauncher` for a jar file, and
1556
1555
specify the other properties it needs as manifest entries, principally a `Start-Class`.
1557
1556
1558
- . Add the runtime dependencies in a nested " lib" directory (for a jar) and the
1557
+ . Add the runtime dependencies in a nested `` lib'' directory (for a jar) and the
1559
1558
`provided` (embedded container) dependencies in a nested `lib-provided` directory.
1560
1559
Remember *not* to compress the entries in the archive.
1561
1560
@@ -1614,7 +1613,7 @@ on the spring.io website and the sample below.
1614
1613
The war file can also be executable if you use the Spring Boot build tools. In that case
1615
1614
the embedded container classes (to launch Tomcat for instance) have to be added to the
1616
1615
war in a `lib-provided` directory. The tools will take care of that as long as the
1617
- dependencies are marked as " provided" in Maven or Gradle. Here's a Maven example
1616
+ dependencies are marked as `` provided'' in Maven or Gradle. Here's a Maven example
1618
1617
{github-code}/spring-boot-samples/spring-boot-sample-traditional/pom.xml[in the Boot Samples].
1619
1618
1620
1619
0 commit comments