Re: Attaching jpa persistence.xml via fragments to a persistence bundle

2011-06-20 Thread Alasdair Nottingham
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,

Re: Attaching jpa persistence.xml via fragments to a persistence bundle

2011-06-20 Thread Marcel Hanser
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 +0100 To: user@aries.apache.org Hi, getResource does something very different

RE: Attaching jpa persistence.xml via fragments to a persistence bundle

2011-06-20 Thread Timothy Ward
amount of effort). Subclassing/wrapping the existing implementation obviously risks you being 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