Skip to content

Commit

Permalink
Version 8.14-RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Mar 13, 2024
1 parent 54a3d66 commit a6347bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ebean-datasource-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ebean-datasource-parent</artifactId>
<groupId>io.ebean</groupId>
<version>8.14-SNAPSHOT</version>
<version>8.14-RC1</version>
</parent>

<artifactId>ebean-datasource-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public void defaults_someOverride() {
readOnly.setMinConnections(3);
readOnly.setUsername("foo2");
readOnly.setUrl("jdbc:postgresql://127.0.0.2:5432/unit");
readOnly.lambdaMode(true);

DataSourceBuilder configBuilder = create();
DataSourceConfig readOnly2 = readOnly.setDefaults(configBuilder);
Expand All @@ -149,7 +150,7 @@ public void defaults_someOverride2() {

assertThat(readOnly2).isSameAs(readOnly);
assertThat(readOnly.isShutdownOnJvmExit()).isTrue();
assertThat(readOnly.isValidateOnHeartbeat()).isTrue();
assertThat(readOnly.isValidateOnHeartbeat()).isFalse();
}

private DataSourceConfig create() {
Expand Down Expand Up @@ -182,7 +183,7 @@ public void load_prefix() throws IOException {
var config = new DataSourceConfig().load(props, "bar");
assertConfigValues(config);
assertThat(config.isShutdownOnJvmExit()).isFalse();
assertThat(config.isValidateOnHeartbeat()).isFalse();
assertThat(config.isValidateOnHeartbeat()).isTrue();
}

@Test
Expand Down
4 changes: 2 additions & 2 deletions ebean-datasource/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.ebean</groupId>
<artifactId>ebean-datasource-parent</artifactId>
<version>8.14-SNAPSHOT</version>
<version>8.14-RC1</version>
</parent>

<artifactId>ebean-datasource</artifactId>
Expand All @@ -16,7 +16,7 @@
<dependency>
<groupId>io.ebean</groupId>
<artifactId>ebean-datasource-api</artifactId>
<version>8.14-SNAPSHOT</version>
<version>8.14-RC1</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>io.ebean</groupId>
<artifactId>ebean-datasource-parent</artifactId>
<version>8.14-SNAPSHOT</version>
<version>8.14-RC1</version>
<packaging>pom</packaging>

<scm>
Expand Down

0 comments on commit a6347bc

Please sign in to comment.