Commit b079eeff authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Polish

Closes gh-14621
parent 2d36a6f9
...@@ -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
......
...@@ -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"
......
...@@ -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();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment