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, I'

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

2011-06-20 Thread Timothy Ward
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

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

2011-06-20 Thread Marcel Hanser
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

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

2011-06-20 Thread Timothy Ward
(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, >

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

2011-06-21 Thread Marcel Hanser
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: