Skip to content

Commit

Permalink
Merge pull request #32 from kazuki43zoo/update-mybatis-3.5.10
Browse files Browse the repository at this point in the history
Bump mybatis from 3.5.9 to 3.5.10
  • Loading branch information
kazuki43zoo authored May 25, 2022
2 parents d597dbe + 496ed4b commit ce71d3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void empty() {
this.context.register(EmptyConfiguration.class);
this.context.refresh();
SqlSessionFactory factory = this.context.getBean(SqlSessionFactory.class);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().getTypeAliases()).hasSize(72);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().getTypeAliases()).hasSize(80);
Assertions.assertThat(factory.getConfiguration().getTypeHandlerRegistry().getTypeHandlers()).hasSize(40);
Assertions.assertThat(factory.getConfiguration().getMappedStatementNames()).isEmpty();
}
Expand All @@ -67,7 +67,7 @@ void single() {
this.context.refresh();
SqlSessionFactory factory = this.context.getBean(SqlSessionFactory.class);
{
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().getTypeAliases()).hasSize(74);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().getTypeAliases()).hasSize(82);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().resolveAlias("city"))
.isEqualTo(City.class);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().resolveAlias("country"))
Expand All @@ -91,7 +91,7 @@ void singleWithoutMapperLocation() {
this.context.register(SingleConfigurationWithoutMapperLocation.class);
this.context.refresh();
SqlSessionFactory factory = this.context.getBean(SqlSessionFactory.class);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().getTypeAliases()).hasSize(74);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().getTypeAliases()).hasSize(82);
Assertions.assertThat(factory.getConfiguration().getTypeHandlerRegistry().getTypeHandlers()).hasSize(43);
Assertions.assertThat(factory.getConfiguration().getMappedStatementNames()).isEmpty();
}
Expand All @@ -102,7 +102,7 @@ void multi() {
this.context.refresh();
SqlSessionFactory factory = this.context.getBean(SqlSessionFactory.class);
{
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().getTypeAliases()).hasSize(79);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().getTypeAliases()).hasSize(87);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().resolveAlias("city"))
.isEqualTo(City.class);
Assertions.assertThat(factory.getConfiguration().getTypeAliasRegistry().resolveAlias("country"))
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<maven.compiler.testSource>${java.version}</maven.compiler.testSource>

<!-- Dependencies artifact version -->
<mybatis.version>3.5.9</mybatis.version>
<mybatis.version>3.5.10</mybatis.version>
<mybatis-spring.version>2.0.7</mybatis-spring.version>
<mybatis-spring-boot.version>2.2.2</mybatis-spring-boot.version>
<mybatis-thymeleaf.version>1.0.3</mybatis-thymeleaf.version>
Expand Down

0 comments on commit ce71d3f

Please sign in to comment.