deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Porter <lightguard...@gmail.com>
Subject Re: [DISCUSS] JPA ConfigurableDataSource
Date Mon, 11 Jun 2012 17:42:42 GMT
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 <struberg@yahoo.de> wrote:

> yes, and we can shade in the 'normal' jpa modules.
> 
> LieGrue,
> strub
> 
> 
> 
> ----- Original Message -----
>> From: Jason Porter <lightguard.jp@gmail.com>
>> To: deltaspike-dev@incubator.apache.org
>> 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 <struberg@yahoo.de> 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 <lightguard.jp@gmail.com>
>>>> To: deltaspike-dev@incubator.apache.org
>>>> 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 
>> <struberg@yahoo.de>
>>> 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 <lightguard.jp@gmail.com>
>>>>>   > To: deltaspike-dev@incubator.apache.org; Mark Struberg <
>>>>>   struberg@yahoo.de>
>>>>>   > 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
>>>> <struberg@yahoo.de>
>>>>>   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
>> 

Mime
View raw message