List<GrantContractMovement> movementsList = grantContract.getAssociatedGrantContractMovements(); for (GrantContractMovement grantContractMovement : movementsList) { persistentObject.deleteByOID(GrantContractMovement.class, grantContractMovement.getIdInternal());
for (GrantContractMovement grantContractMovement : grantContract.getAssociatedGrantContractMovements()) { grantContractMovement.delete();
    private void deleteAssociatedMovements(GrantContract grantContract) throws ExcepcaoPersistencia {        List<GrantContractMovement> movementsList = grantContract.getAssociatedGrantContractMovements();        for (GrantContractMovement grantContractMovement : movementsList) {            persistentObject.deleteByOID(GrantContractMovement.class, grantContractMovement.getIdInternal());        }    }