Hi Maxim,

Answered inline

Le mer. 18 mai 2022 à 18:07, Maxim Solodovnik <solomax...@gmail.com> a
écrit :

> Hello All,
>
> sorry for non informative subject, but I would like to avoid creating
> 2 threads for these :)))
>
> Q1: JPMS related
> openjpa has dependency on
> [INFO] |  +-
> org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1:compile
> [INFO] |  +-
> org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
>
> which doesn't have `Automatic-Module-Name` set
>

Cause JPMS was not a thing when it got released


> Who should I contact to fix this? :)
>

Geronimo but is it important? you don't have to use that if you want JPMS I
guess javax.* artifacts can be a "smooth" replacement


>
> Q2: JPA Criteria related
>
> currently org.apache.openjpa.persistence.criteria.RootImpl class (and
> all its parents)
> doesn't define hashcode/equals
> This leads to undesired behavior :(((
>
> if `CriteriaQuery.from(A.class)` is called multiple times roots `Set`
> is polluted :((
>
> I've tried to add some naive hashcode/equals implemenations to
> RootImpl and parents
> but was unable to keep the build green :(
>
> Maybe someone can help with this issue? :)))
> Shall I create JIRA?
>

Sure and even feel free to share what you hacked.
Not sure this usage is defined but while it respects the spec we can
enhance it.


>
>
> --
> Best regards,
> Maxim
>

Reply via email to