Skip to content

Updating from 3.1.1 to 3.5.3 breaks due to the change of SqlSession #1712

@SElab2019

Description

@SElab2019

MyBatis version

The version after 3.4.0.

Database vendor and version

None

Test case or example project

public class ShardedSqlSessionTemplate implements SqlSession{
	public ShardedSqlSessionTemplate(SqlSessionFactory sqlSessionFactory) {
	}
}

Steps to reproduce

When I try to upgrade mybatis-3 from 3.2.2 to the version after 3.4.0. The above code breaks due to the change of SqlSession. I try to check the release note of 3.4.0. I didn't find it.

Expected result

The code should pass.

Actual result

It throws an error with:

UTD.SeLab.BBI.BugDetection.ShardedSqlSessionTemplate is not abstract and does not override abstract method <T>selectCursor(java.lang.String,java.lang.Object,org.apache.ibatis.session.RowBounds) in org.apache.ibatis.session.SqlSession

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationIndicates a changing on documentation(reference or javadoc)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions