diff --git a/pom.xml b/pom.xml
index 89f783b5..b4b3b108 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
org.mybatis
mybatis-guice
- 3.19-SNAPSHOT
+ 4.0.0-SNAPSHOT
mybatis-guice
The MyBatis Guice module is easy-to-use Google Guice bridge for MyBatis sql mapping framework.
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
deleted file mode 100644
index c37e9f5b..00000000
--- a/src/changes/changes.xml
+++ /dev/null
@@ -1,345 +0,0 @@
-
-
-
-
-
- The MyBatis Team
- Changes
-
-
-
-
-
- Updates Guice to version 7 and use Jakarta namespace.
-
-
-
-
- Replaces "jdbc:mysql" URL with "jdbc:mariadb" for MariaDB in JdbcHelper
-
-
-
-
-
- Add use failover mode and load balancing mode of MariaDB connector/j.
-
-
-
-
-
- Adds support for HikariCP.
-
-
-
- Replaces Apache Commons DBCP version 1 by Apache Commons DBCP version 2.
- Some properties are replaced.
- BasicDataSourceProvider:
- maxActive -> maxTotal;
- maxWait -> maxWaitMillis;
- DriverAdapterCPDSProvider:
- maxIdle removed;
- PerUserPoolDataSource:
- minEvictableIdleTimeMillis -> defaultMinEvictableIdleTimeMillis;
- numTestsPerEvictionRun -> defaultNumTestsPerEvictionRun;
- testOnBorrow -> defaultTestOnBorrow;
- testOnReturn -> defaultTestOnReturn;
- testWhileIdle -> defaultTestWhileIdle;
- timeBetweenEvictionRunsMillis -> defaultTimeBetweenEvictionRunsMillis;
- maxActive -> defaultMaxTotal;
- maxIdle -> defaultMaxIdle;
- maxWait -> defaultMaxWaitMillis;
- @PerUserMaxActive -> @PerUserMaxTotal;
- @PerUserMaxWait -> @PerUserMaxWaitMillis;
- SharedPoolDataSourceProvider:
- minEvictableIdleTimeMillis -> defaultMinEvictableIdleTimeMillis;
- numTestsPerEvictionRun -> defaultNumTestsPerEvictionRun;
- testOnBorrow -> defaultTestOnBorrow;
- testOnReturn -> defaultTestOnReturn;
- testWhileIdle -> defaultTestWhileIdle;
- timeBetweenEvictionRunsMillis -> defaultTimeBetweenEvictionRunsMillis;
- maxActive -> defaultMaxTotal;
- maxIdle -> defaultMaxIdle;
- maxWait -> defaultMaxWaitMillis;
-
-
-
-
- Removed support for BoneCP.
-
-
-
-
-
- Allow TxTransactionalMethodInterceptor to commit the transaction on some exceptions.
-
-
-
- Fixes use of Configuration provider.
-
-
-
- Fixes OSGI imports.
-
-
-
-
-
- Allow Druid connection properties to be set using an instance of Properties.
-
-
-
- Make JdbcUrlAntFormatter class public to allow users to format their custom URLs like in JdbcHelper.
-
-
- Fixes following configuration properties for BoneCP data source.
- idleConnectionTestPeriod,
- idleConnectionTestPeriodInMinutes,
- idleConnectionTestPeriodInSeconds
-
-
-
- Fixes ProvisionException when setting login timeout for BasicDataSource
-
-
-
- Fixes use of data source name configuration property for SharedPoolDataSourceProvider.
-
-
-
- Fixes generic types in PerUserPoolDataSourceModule.
-
-
-
- Fixes readOnly property for Druid data source.
-
-
-
- Removed dependency on guice multibindings.
-
-
-
-
-
- Restored setting configuration using properties. Only properties that existed in version 3.7 will be supported in the future.
-
-
- Fixes constructor injection for TypeHandlers.
-
-
- Added support for Druid data source.
-
-
-
-
-
- Default Environment ID for XML configuration changed from "development" to the value of "default" attribute of <environments> element.
-
-
- Added support for Druid data source.
-
-
- Configuration can be customized using ConfigurationSetting interface.
-
-
-
-
-
- Fixes concurrency error with JTA.
-
-
-
-
-
- Default scripting language can be used.
-
-
- Generic type handlers can be used.
-
-
- Constructor injection will not work on type handlers due to support for generic type handlers.
- Use field or setter injection instead.
-
-
- Injection will work for ObjectFactory and ObjectWrapperFactory when using XML configuration.
-
-
-
-
-
- Alias scanner will now respect the @Alias annotation of MyBatis.
-
-
- Code cleanup, optimized the imports and some java-doc fixes.
-
-
- Updated some internal dependencies.
- log4j 1.2.16 -> 1.2.17
- hsqldb 2.2.4 -> 2.2.9
-
-
-
-
-
- Added resources/JDBC custom ClassLoader support.
-
-
- Missing mapUnderscoreToCamelCase property in mybatis-guice.
-
-
- Inject dependencies in TypeHandlers defined in the XML
-
-
- Made org.mybatis.guice.datasource.c3p0.C3p0DataSourceProvider username/password optional
- (users can specify them in the JDBC URL).
-
-
- Made org.mybatis.guice.datasource.dbcp.BasicDataSourceProvider username/password optional
- (users can specify them in the JDBC URL).
-
-
- Made org.mybatis.guice.datasource.dbcp.DriverAdapterCPDSProvider username/password optional
- (users can specify them in the JDBC URL).
-
-
- Made org.mybatis.guice.datasource.builtin.PooledDataSourceProvider username/password optional
- (users can specify them in the JDBC URL).
-
-
- Made org.mybatis.guice.datasource.builtin.UnpooledDataSourceProvider username/password optional
- (users can specify them in the JDBC URL).
-
-
- Internal code polishing.
-
-
-
-
-
- Remove useless dependencies in the final artifact.
-
-
-
-
-
- Simplified @Transactional behavior, deprecated @Transactional#autoCommit()
-
-
-
-
-
- (XML)MyBatisModule now works as proper Guice module
-
-
- Fixed Provider<DatSource> type, must be JSR330'ed, thanks to Marzia Forli
-
-
-
-
-
- Remove mapper order restriction when referencing SQL fragment in another file.
-
-
- Fixed org.mybatis.guice.configuration.ConfigurationProvider injections point, added missing setters.
-
-
- Guice dependency upgrated to 3.0.
-
-
- Modules are JSR330'ed.
-
-
- Added BoneCP in the supported datasource providers.
-
-
- Added H2DB in the supported JDBC Helpers.
-
-
- @org.mybatis.guice.transactional.Transactional#exceptionMessage() expressed using java.util.Formatter
- pattern and no more with java.text.MessageFormat#format().
-
-
-
-
-
- Added missing SqlSession -> SqlSessionManager binding,
- so users can request managed SqlSession injections.
-
-
- Hidden internal APIs
-
-
-
-
-
- Finalized XML MyBatis configuration support.
-
-
- Documented XML MyBatis configuration support.
-
-
- Removed the over engineered 'transactionfactory' package.
-
-
- Google Guice extension dependencies moved to 'compile' scope.
-
-
- MyBatis dependency upgrated to 3.0.3
-
-
-
-
-
- Started developing the XML prototypal support (undocumented yet).
-
-
- Avoid ConfigurationProviderInjectionListener.afterInjection() randomically called twice.
-
-
- Added the @org.mybatis.guice.transactional.Transactional.rollbackOnly parameter.
-
-
- Added the org.mybatis.guice.MyBatisModule#addSimpleAliases(Collection<Class<?>>).
-
-
- Added the org.mybatis.guice.MyBatisModule#addInterceptorsClasses(Collection<Class<? extends Interceptor>>).
-
-
- Added the org.mybatis.guice.MyBatisModule#addMapperClasses(Collection<Class<?>>).
-
-
-
-
-
- ErrorContext leaks in ThreadLocal.
-
-
- Added the JdbcHelper to simplify the JDBC Drivers configuration.
-
-
-
-
-
- Imported and moved the original iBaGuice codebase.
-
-
-
-
-