Deleted method from mapper with no equal in java class