[
https://issues.apache.org/jira/browse/OPENJPA-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17353064#comment-17353064
]
ASF subversion and git services commented on OPENJPA-2875:
----------------------------------------------------------
Commit 722eb579eaef5e3afedf97aa20be330126ff3ac3 in openjpa's branch
refs/heads/master from Romain Manni-Bucau
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=722eb57 ]
Merge pull request #80 from jeanouii/OPENJPA-2875_filterJPAProvider
OPENJPA-2875 make sure to avoid doing things when another persistence provider
is specified.
> JPA Provider must filter out other JPA Providers
> ------------------------------------------------
>
> Key: OPENJPA-2875
> URL: https://issues.apache.org/jira/browse/OPENJPA-2875
> Project: OpenJPA
> Issue Type: Improvement
> Reporter: Jean-Louis Monteiro
> Priority: Major
> Fix For: 3.2.1
>
>
> Currently OpenJPA JPA Provider does not check what is the provider being
> used. So when using multiple providers, OpenJPA attempts to do things and
> fails badly.
>
> It should only attempt to do something when OpenJPA JPA provider is specified
> or when no provider is specified. If EclipseLink or Hibernate for instance is
> used, OpenJPA should not do anything, so the service loader can move on and
> switch to the next provider.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)