websphere 7 and (application based) open-jpa 2

前端 未结 1 444
小蘑菇
小蘑菇 2020-12-11 06:02

I want to not use the built in Websphere 7 jpa plugin, instead use an application WEB-INF/lib/open-jpa 2 and a proprietary persistence provider. I cannot install the OSGI a

相关标签:
1条回答
  • 2020-12-11 06:32

    Without installing the feature pack, you're fighting a losing battle. While it is possible to plug in your own JPA implementation, it is not possible to do that with JPA API — so WAS 7 ties you to the 1.0 version of JPA (see, for example, here how this is done — no class loader policy juggling will change that, though it seems tempting at first).

    0 讨论(0)
提交回复
热议问题