persistentObject.deleteByOID(GrantContractRegime.class, grantContractRegime.getIdInternal());
grantContractRegime.delete();
    private void deleteAssociatedRegimes(GrantContract grantContract) throws ExcepcaoPersistencia {        IPersistentGrantContractRegime pgcr = persistentSupport.getIPersistentGrantContractRegime();        List<GrantContractRegime> regimesList = pgcr.readGrantContractRegimeByGrantContract(grantContract.getIdInternal());        if (regimesList != null) {            for (GrantContractRegime grantContractRegime : regimesList) {                persistentObject.deleteByOID(GrantContractRegime.class, grantContractRegime.getIdInternal());            }        }    }