Как узнать номер страницы в интерфейсе java.sql.SQLException.RowMapper?
import java.sql.ResultSet;
import java.sql.SQLException;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.jdbc.core.RowMapper;
public class MyRowMapper implements RowMapper<MyDto> {
private static final Logger log = LogManager.getLogger(MyRowMapper.class);
public MyDto mapRow(ResultSet rs, int rowNum) throws SQLException {
log.info(" Page: " + page + " Record " + rowNum);
}
}