Hi,
getResource does something very different from getEntry. getResource uses the
Bundle-Classpath so it doesn't guarantee to return META-INF/persistence.xml
rooted in the bundle. That is why getResource is not used.
I don't know why fragments aren't processed, other people in the list can, I'
RESOLVED
which we don't want either.
Regards,
Tim
> Subject: Re: Attaching jpa persistence.xml via fragments to a persistence
> bundle
> From: n...@apache.org
> Date: Mon, 20 Jun 2011 09:05:29 +0100
> To: user@aries.apache.org
>
> Hi,
>
> getResource does someth
ource() would cause the bundle to move to
> RESOLVED which we don't want either.
>
> Regards,
>
> Tim
>
>> Subject: Re: Attaching jpa persistence.xml via fragments to a persistence
>> bundle
>> From: n...@apache.org
>> Date: Mon, 20 Jun 2011 09:05:29 +0
(it's not part of the API).
Regards,
Tim
> Date: Mon, 20 Jun 2011 16:31:02 +0200
> Subject: Re: Attaching jpa persistence.xml via fragments to a persistence
> bundle
> From: marcel.hanser.w...@googlemail.com
> To: user@aries.apache.org
>
> Thank for you answers,
>
t; broken unexpectedly (it's not part of the API).
>
> Regards,
>
> Tim
>
>
>> Date: Mon, 20 Jun 2011 16:31:02 +0200
>> Subject: Re: Attaching jpa persistence.xml via fragments to a persistence
>> bundle
>> From: marcel.hanser.w...@googlemail.com
>> To: