Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
b079eeff
Commit
b079eeff
authored
Sep 27, 2018
by
Johnny Lim
Committed by
Stephane Nicoll
Oct 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
Closes gh-14621
parent
2d36a6f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
11 deletions
+8
-11
JdbcRepositoriesAutoConfiguration.java
...onfigure/data/jdbc/JdbcRepositoriesAutoConfiguration.java
+2
-3
additional-spring-configuration-metadata.json
...es/META-INF/additional-spring-configuration-metadata.json
+4
-5
ExampleDataJdbcApplication.java
...t/autoconfigure/data/jdbc/ExampleDataJdbcApplication.java
+2
-3
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/jdbc/JdbcRepositoriesAutoConfiguration.java
View file @
b079eeff
...
@@ -34,9 +34,8 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations;
...
@@ -34,9 +34,8 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations;
* {@link EnableAutoConfiguration Auto-configuration} for Spring Data's JDBC Repositories.
* {@link EnableAutoConfiguration Auto-configuration} for Spring Data's JDBC Repositories.
* <p>
* <p>
* Once in effect, the auto-configuration is the equivalent of enabling JDBC repositories
* Once in effect, the auto-configuration is the equivalent of enabling JDBC repositories
* using the
* using the {@link EnableJdbcRepositories} annotation and providing a
* {@link org.springframework.data.jdbc.repository.config.EnableJdbcRepositories}
* {@link JdbcConfiguration} subclass.
* annotation and providing a {@link JdbcConfiguration} subclass.
*
*
* @author Andy Wilkinson
* @author Andy Wilkinson
* @since 2.1.0
* @since 2.1.0
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json
View file @
b079eeff
...
@@ -516,11 +516,6 @@
...
@@ -516,11 +516,6 @@
"level"
:
"error"
"level"
:
"error"
}
}
},
},
{
"name"
:
"spring.quartz.scheduler-name"
,
"type"
:
"java.lang.String"
,
"defaultValue"
:
"quartzScheduler"
},
{
{
"name"
:
"spring.quartz.jdbc.initialize-schema"
,
"name"
:
"spring.quartz.jdbc.initialize-schema"
,
"defaultValue"
:
"embedded"
"defaultValue"
:
"embedded"
...
@@ -529,6 +524,10 @@
...
@@ -529,6 +524,10 @@
"name"
:
"spring.quartz.job-store-type"
,
"name"
:
"spring.quartz.job-store-type"
,
"defaultValue"
:
"memory"
"defaultValue"
:
"memory"
},
},
{
"name"
:
"spring.quartz.scheduler-name"
,
"defaultValue"
:
"quartzScheduler"
},
{
{
"name"
:
"spring.rabbitmq.cache.connection.mode"
,
"name"
:
"spring.rabbitmq.cache.connection.mode"
,
"defaultValue"
:
"channel"
"defaultValue"
:
"channel"
...
...
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/data/jdbc/ExampleDataJdbcApplication.java
View file @
b079eeff
...
@@ -33,9 +33,8 @@ public class ExampleDataJdbcApplication {
...
@@ -33,9 +33,8 @@ public class ExampleDataJdbcApplication {
@Bean
@Bean
public
DataSource
dataSource
()
{
public
DataSource
dataSource
()
{
EmbeddedDatabaseBuilder
builder
=
new
EmbeddedDatabaseBuilder
()
return
new
EmbeddedDatabaseBuilder
().
generateUniqueName
(
true
)
.
generateUniqueName
(
true
).
setType
(
EmbeddedDatabaseType
.
HSQL
);
.
setType
(
EmbeddedDatabaseType
.
HSQL
).
build
();
return
builder
.
build
();
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment