最近公司把应用做了水平拆分,之间的通信想使用thrift,我本来是推荐dubbo的,可是dubbo本身使用spring2.5.6.SEC03,我们的平台使用的spring3.2.0
如果使用dubbo版本的spring会导致我们平台使用的org.springframework.jdbc.core.RowMapper全部出错,因为spring2.5.6.SEC03里
public interface RowMapper {
java.lang.Object mapRow(java.sql.ResultSet resultSet, int i) throws java.sql.SQLException;
}
而spring3里
public interface RowMapper {
T mapRow(java.sql.ResultSet resultSet, int i) throws java.sql.SQLException;
}
想请问各种大神,有没有解决方法