You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jdbc/EmbeddedDatabaseConnection.java
+27-27
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2012-2013 the original author or authors.
2
+
* Copyright 2012-2014 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -119,36 +119,13 @@ public static boolean isEmbedded(String driverClass) {
119
119
* @return true if the data sourceis one of the embedded types
Copy file name to clipboardExpand all lines: spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsTemplateAutoConfiguration.java
Copy file name to clipboardExpand all lines: spring-boot-docs/src/main/asciidoc/howto.adoc
+12-9
Original file line number
Diff line number
Diff line change
@@ -935,14 +935,14 @@ and {sc-spring-boot-autoconfigure}/orm/jpa/JpaBaseConfiguration.{sc-ext}[`JpaBas
935
935
for more details.
936
936
937
937
938
+
938
939
[[howto-use-custom-entity-manager]]
939
940
=== Use a custom EntityManagerFactory
940
-
To take full control of the configuration of the
941
-
`EntityManagerFactory`, you need to add a `@Bean` named
942
-
"entityManagerFactory". To avoid eager initialization of JPA
943
-
infrastructure Spring Boot autoconfiguration does not switch on its
944
-
entity manager based on the presence of a bean of that type. Instead
945
-
it has to do it by name.
941
+
To take full control of the configuration of the `EntityManagerFactory`, you need to add
942
+
a `@Bean` named "entityManagerFactory". To avoid eager initialization of JPA
943
+
infrastructure, Spring Boot auto-configuration does not switch on its entity manager
944
+
based on the presence of a bean of that type. Instead it has to do it by name.
945
+
946
946
947
947
948
948
[[howto-use-traditional-persistence-xml]]
@@ -1140,9 +1140,12 @@ use this in a webapp is to inject it into a void method in a
1140
1140
}
1141
1141
----
1142
1142
1143
-
You will get the best results if you put this in a nested class, or a standalone class (i.e.
1144
-
not mixed in with a lot of other `@Beans` that might be allowed to influence the order of
1145
-
instantiation). The https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-web-secure[secure web sample] is a useful template to follow.
1143
+
You will get the best results if you put this in a nested class, or a standalone class
1144
+
(i.e. not mixed in with a lot of other `@Beans` that might be allowed to influence the
1145
+
order of instantiation). The {github-code}/spring-boot-samples/spring-boot-sample-web-secure[secure web sample]
Copy file name to clipboardExpand all lines: spring-boot-tools/spring-boot-gradle-plugin/src/main/groovy/org/springframework/boot/gradle/task/RunApp.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
36
36
/**
37
37
* Run the project from Gradle.
38
-
*
38
+
*
39
39
* @author Dave Syer
40
40
*/
41
41
publicclassRunAppextendsDefaultTask {
@@ -75,7 +75,7 @@ public String call() throws Exception {
Copy file name to clipboardExpand all lines: spring-boot-tools/spring-boot-loader-tools/src/main/java/org/springframework/boot/loader/tools/FileUtils.java
+13-13
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
/*
2
-
* originright 2012-2013 the copyal author or authors.
2
+
* Copyright 2012-2014 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
6
-
* You may obtain a origin of the License at
6
+
* You may obtain a copy of the License at
7
7
*
8
8
* http://www.apache.org/licenses/LICENSE-2.0
9
9
*
@@ -26,24 +26,24 @@
26
26
publicclassFileUtils {
27
27
28
28
/**
29
-
* Utility to remove duplicate files from a "copy" directory if they already exist in
30
-
* an "origin". Recursively scans the origin directory looking for files (not
29
+
* Utility to remove duplicate files from an "output" directory if they already exist
30
+
* in an "origin". Recursively scans the origin directory looking for files (not
31
31
* directories) that exist in both places and deleting the copy.
0 commit comments