You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to upgrade mybatis-spring from 1.3.2 to the version after 2.0.0. The upgrade breaks my existing code when I extend SpringManagedTransaction and override method Close with SQLException. e.g.
The code should pass. However, it throws an error:
close() in Demo cannot override close() in org.mybatis.spring.transaction.SpringManagedTransaction
overridden method does not throw java.sql.SQLException
The text was updated successfully, but these errors were encountered:
kazuki43zoo
changed the title
Updating from 1.3.2 to 2.0.3 breaks
SpringManagedTransaction#close broken backward-compatibility between 1.3.x and 2.0.x
Dec 2, 2019
When I try to upgrade mybatis-spring from 1.3.2 to the version after 2.0.0. The upgrade breaks my existing code when I extend SpringManagedTransaction and override method Close with SQLException. e.g.
The code should pass. However, it throws an error:
The text was updated successfully, but these errors were encountered: