You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Pawel Veselov <pa...@gmail.com> on 2020/12/24 08:57:16 UTC

CriteriaUpdate/CriteriaDelete support?

Hello.

I was rather excited when I saw the statement on
http://openjpa.apache.org/ that 3.x releases "target" the 2.2 JPA
Spec, but are *compatible* with specs 2.1 and below specs, sort of
reading it as 3.x supporting 2.2 spec.

My excitement was crushed with a rather heavy boulder once I saw that
the criteria builder simply throws an unsupported operation exception
in methods to create criteria update/delete objects.

How far away is OpenJPA from implementing the full 2.2 spec,
especially these update/delete criteria support?

-- 
With best of best regards
Pawel S. Veselov

Re: CriteriaUpdate/CriteriaDelete support?

Posted by Pawel Veselov <pa...@gmail.com>.
Hi Mark.

Great news, thank you. I filed OPENJPA-2847 for this.

On Mon, Dec 28, 2020 at 1:13 AM Mark Struberg <st...@yahoo.de.invalid> wrote:
>
> Hi Pawel, thanks for the report.
>
> I hope I find some time to address that soonish.
> Did you create a ticket for it already?
>
> txs and LieGrue,
> strub
>
>
> > Am 24.12.2020 um 09:57 schrieb Pawel Veselov <pa...@gmail.com>:
> >
> > Hello.
> >
> > I was rather excited when I saw the statement on
> > http://openjpa.apache.org/ that 3.x releases "target" the 2.2 JPA
> > Spec, but are *compatible* with specs 2.1 and below specs, sort of
> > reading it as 3.x supporting 2.2 spec.
> >
> > My excitement was crushed with a rather heavy boulder once I saw that
> > the criteria builder simply throws an unsupported operation exception
> > in methods to create criteria update/delete objects.
> >
> > How far away is OpenJPA from implementing the full 2.2 spec,
> > especially these update/delete criteria support?
> >
> > --
> > With best of best regards
> > Pawel S. Veselov
>


-- 
With best of best regards
Pawel S. Veselov

Re: CriteriaUpdate/CriteriaDelete support?

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
Hi Pawel, thanks for the report. 

I hope I find some time to address that soonish.
Did you create a ticket for it already?

txs and LieGrue,
strub


> Am 24.12.2020 um 09:57 schrieb Pawel Veselov <pa...@gmail.com>:
> 
> Hello.
> 
> I was rather excited when I saw the statement on
> http://openjpa.apache.org/ that 3.x releases "target" the 2.2 JPA
> Spec, but are *compatible* with specs 2.1 and below specs, sort of
> reading it as 3.x supporting 2.2 spec.
> 
> My excitement was crushed with a rather heavy boulder once I saw that
> the criteria builder simply throws an unsupported operation exception
> in methods to create criteria update/delete objects.
> 
> How far away is OpenJPA from implementing the full 2.2 spec,
> especially these update/delete criteria support?
> 
> -- 
> With best of best regards
> Pawel S. Veselov