mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
Closes gh-14621
This commit is contained in:
parent
2d36a6f952
commit
b079eeff1a
@ -34,9 +34,8 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcOperations;
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring Data's JDBC Repositories.
|
||||
* <p>
|
||||
* Once in effect, the auto-configuration is the equivalent of enabling JDBC repositories
|
||||
* using the
|
||||
* {@link org.springframework.data.jdbc.repository.config.EnableJdbcRepositories}
|
||||
* annotation and providing a {@link JdbcConfiguration} subclass.
|
||||
* using the {@link EnableJdbcRepositories} annotation and providing a
|
||||
* {@link JdbcConfiguration} subclass.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @since 2.1.0
|
||||
|
@ -516,11 +516,6 @@
|
||||
"level" : "error"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "spring.quartz.scheduler-name",
|
||||
"type": "java.lang.String",
|
||||
"defaultValue": "quartzScheduler"
|
||||
},
|
||||
{
|
||||
"name": "spring.quartz.jdbc.initialize-schema",
|
||||
"defaultValue": "embedded"
|
||||
@ -529,6 +524,10 @@
|
||||
"name": "spring.quartz.job-store-type",
|
||||
"defaultValue": "memory"
|
||||
},
|
||||
{
|
||||
"name": "spring.quartz.scheduler-name",
|
||||
"defaultValue": "quartzScheduler"
|
||||
},
|
||||
{
|
||||
"name": "spring.rabbitmq.cache.connection.mode",
|
||||
"defaultValue": "channel"
|
||||
|
@ -33,9 +33,8 @@ public class ExampleDataJdbcApplication {
|
||||
|
||||
@Bean
|
||||
public DataSource dataSource() {
|
||||
EmbeddedDatabaseBuilder builder = new EmbeddedDatabaseBuilder()
|
||||
.generateUniqueName(true).setType(EmbeddedDatabaseType.HSQL);
|
||||
return builder.build();
|
||||
return new EmbeddedDatabaseBuilder().generateUniqueName(true)
|
||||
.setType(EmbeddedDatabaseType.HSQL).build();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user