yes, shade-in (taking jpa-api and shade those classes into jpa-jta-api, same for impl).
LieGrue, strub ----- Original Message ----- > From: Jason Porter <[email protected]> > To: "[email protected]" > <[email protected]> > Cc: "[email protected]" > <[email protected]> > Sent: Monday, June 11, 2012 7:42 PM > Subject: Re: [DISCUSS] JPA ConfigurableDataSource > > Why not shade the normal JPA jar into jpa-jta? If you have jta, you'll have > all the other stuff and needs as the base jpa. > > Sent from my iPhone > > On Jun 11, 2012, at 11:39, Mark Struberg <[email protected]> wrote: > >> yes, and we can shade in the 'normal' jpa modules. >> >> LieGrue, >> strub >> >> >> >> ----- Original Message ----- >>> From: Jason Porter <[email protected]> >>> To: [email protected] >>> Cc: >>> Sent: Monday, June 11, 2012 6:56 PM >>> Subject: Re: [DISCUSS] JPA ConfigurableDataSource >>> >>> Okay, we'll have deltaspike-jpa-jta and deltaspike-jpa correct? >>> >>> On Mon, Jun 11, 2012 at 10:51 AM, Mark Struberg > <[email protected]> wrote: >>> >>>> good point! >>>> >>>> Yes, the JTA stuff will be an own jar. I wait for Arne showing up > with a >>>> PersistenceStrategy for JTA as well btw :) >>>> >>>> LieGrue, >>>> strub >>>> >>>> >>>> >>>> ----- Original Message ----- >>>>> From: Jason Porter <[email protected]> >>>>> To: [email protected] >>>>> Cc: >>>>> Sent: Monday, June 11, 2012 6:40 PM >>>>> Subject: Re: [DISCUSS] JPA ConfigurableDataSource >>>>> >>>>> On Mon, Jun 11, 2012 at 10:33 AM, Mark Struberg >>> <[email protected]> >>>> wrote: >>>>> >>>>>> Yes, the proposal is to provide a >>>>>> >>>>>> >>>>>> public class ConfigurableDataSourceimplements DataSource >>>>>> >>>>>> >>>>>> and a >>>>>> >>>>>> public class ConfigurableXaDataSource extends >>> ConfigurableDataSource >>>>>> implements XaDataSource >>>>>> >>>>>> The reason for splitting those is that some containers do > a >>> instanceof >>>>>> XaDataSource to automatically detect JTA support. So we > better >>> keep it >>>>>> explicit, wdyt? >>>>>> >>>>> >>>>> This will be in it's own jar then? >>>>> >>>>> >>>>>> >>>>>> LieGrue, >>>>>> strub >>>>>> >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> > From: Jason Porter <[email protected]> >>>>>> > To: [email protected]; Mark > Struberg < >>>>>> [email protected]> >>>>>> > Cc: >>>>>> > Sent: Monday, June 11, 2012 6:25 PM >>>>>> > Subject: Re: [DISCUSS] JPA ConfigurableDataSource >>>>>> > >>>>>> >T his implements DataSource (and maybe XaDataSource)? >>>>>> > >>>>>> > On Mon, Jun 11, 2012 at 2:34 AM, Mark Struberg >>>>> <[email protected]> >>>>>> wrote: >>>>>> > >>>>>> >> Hi! >>>>>> >> >>>>>> >> We had some discussion about the > ConfigurableDataSource >>> [1] >>>>> already. >>>>>> >> >>>>>> >> The old discussion can be found here [2] >>>>>> >> >>>>>> >> I now started porting over the stuff I did in > CODI. >>>>>> >> In a second step I'll extend the > functionality to >>> provide >>>>> support for >>>>>> >> XaDataSource. >>>>>> >> >>>>>> >> LieGrue, >>>>>> >> strub >>>>>> >> >>>>>> >> [1] >>>>>> >> >>>>>> > >>>>>> >>>>> >>>> >>> > https://cwiki.apache.org/EXTCDI/jpa-usage.html#JPAUsage-ConfigurableDataSource%28sincev1.0.2%29 >>>>>> >> [2] http://markmail.org/thread/akm5qpnvzpzbqjsq >>>>>> >> >>>>>> > >>>>>> > >>>>>> > >>>>>> > -- >>>>>> > Jason Porter >>>>>> > http://lightguard-jp.blogspot.com >>>>>> > http://twitter.com/lightguardjp >>>>>> > >>>>>> > Software Engineer >>>>>> > Open Source Advocate >>>>>> > Author of Seam Catch - Next Generation Java > Exception >>> Handling >>>>>> > >>>>>> > PGP key id: 926CCFF5 >>>>>> > PGP key available at: keyserver.net, pgp.mit.edu >>>>>> > >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Jason Porter >>>>> http://lightguard-jp.blogspot.com >>>>> http://twitter.com/lightguardjp >>>>> >>>>> Software Engineer >>>>> Open Source Advocate >>>>> Author of Seam Catch - Next Generation Java Exception Handling >>>>> >>>>> PGP key id: 926CCFF5 >>>>> PGP key available at: keyserver.net, pgp.mit.edu >>>>> >>>> >>> >>> >>> >>> -- >>> Jason Porter >>> http://lightguard-jp.blogspot.com >>> http://twitter.com/lightguardjp >>> >>> Software Engineer >>> Open Source Advocate >>> Author of Seam Catch - Next Generation Java Exception Handling >>> >>> PGP key id: 926CCFF5 >>> PGP key available at: keyserver.net, pgp.mit.edu >>> >
