Skip to content

2.4.0

Latest

Choose a tag to compare

@backpaper0 backpaper0 released this 27 Apr 11:43
· 60 commits to master since this release
666b3f1

What's Changed

  • Use JdbcConnectionDetails to detect Dialect instead of Environment by @making in #294
  • Change the default logger from java.util.logging to SLF4J by @backpaper0 in #288

Full Changelog: 2.3.0...2.4.0

Breaking changes

Dialect auto detection

If Dialect is not explicitly specified and DataSource is explicitly defined, an exception will be thrown because Dialect cannot be automatically resolved.
Please explicitly specify Dialect using the doma.dialect property.

doma.dialect=postgres

JdbcLogger configuration

  • If you are using the default setting (JUL):
    • It will be switched to SLF4J.
    • If they wish to continue using JUL, they will need to add explicit configuration.
      doma.jdbc-logger=JUL
  • If you are explicitly using JUL:
    • org.seasar.doma:doma-slf4j will be included as a dependency.
    • To exclude it, they need to explicitly add an exclusion in pom.xml:
      <dependency>
          <groupId>org.seasar.doma</groupId>
          <artifactId>doma-spring-boot</artifactId>
          <version>x.y.z</version>
          <exclusions>
              <exclusion>
                  <groupId>org.seasar.doma</groupId>
                  <artifactId>doma-slf4j</artifactId>
              </exclusion>
          </exclusions>
      </dependency>
  • If you are using SLF4J:
    • No impact.
    • Explicit configuration is no longer necessary.