Skip to content

Commit af7f086

Browse files
committed
Updated multiple sample so that it can be natively compiled
1 parent 53ed450 commit af7f086

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

spring-cloud-task-samples/multiple-datasources/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@
4949
<groupId>com.h2database</groupId>
5050
<artifactId>h2</artifactId>
5151
</dependency>
52-
<dependency>
53-
<groupId>org.hsqldb</groupId>
54-
<artifactId>hsqldb</artifactId>
55-
</dependency>
5652
<dependency>
5753
<groupId>org.mariadb.jdbc</groupId>
5854
<artifactId>mariadb-java-client</artifactId>

spring-cloud-task-samples/multiple-datasources/src/main/java/io/spring/configuration/EmbeddedDataSourceConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class EmbeddedDataSourceConfiguration {
3636

3737
@Bean
3838
public DataSource dataSource() {
39-
return new EmbeddedDatabaseBuilder().setType(EmbeddedDatabaseType.HSQL).build();
39+
return new EmbeddedDatabaseBuilder().setType(EmbeddedDatabaseType.H2).build();
4040
}
4141

4242
@Bean

0 commit comments

Comments
 (0)