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=postgresJdbcLogger 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
- It will be switched to
- If you are explicitly using
JUL:org.seasar.doma:doma-slf4jwill be included as a dependency.- To exclude it, they need to explicitly add an
exclusioninpom.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.