deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gerhard.petra...@gmail.com>
Subject Re: Transaction Scope activation
Date Mon, 16 May 2016 14:46:45 GMT
please have a look at [1]

regards,
gerhard

[1]
https://github.com/apache/deltaspike/blob/master/deltaspike/modules/jpa/impl/src/test/java/org/apache/deltaspike/test/jpa/api/transactionscoped/defaultinjection/DefaultTransactionScopedEntityManagerInjectionTest.java



2016-05-16 16:41 GMT+02:00 John D. Ament <johndament@apache.org>:

> A couple of observations.
>
> The test doesn't match the docs.  For example, we use dependent EM
>
>
> https://github.com/apache/deltaspike/blob/master/deltaspike/modules/jpa/impl/src/test/java/org/apache/deltaspike/test/jpa/api/transactional/defaultinjection/TestEntityManagerProducer.java#L29
>
> Do we have any tests that use TransactionScoped ?
>
> On Mon, May 16, 2016 at 10:31 AM Gerhard Petracek <gpetracek@apache.org>
> wrote:
>
> > hi,
> >
> > that sounds like an issue with your setup.
> > our tests pass with weld v2.3.4 (see [1]).
> > -> please provide more information or a demo-application which
> illustrates
> > the issue.
> >
> > regards,
> > gerhard
> >
> > [1]
> >
> >
> https://builds.apache.org/view/A-D/view/DeltaSpike/job/DeltaSpike%20Weld%202.3.4/
> >
> >
> >
> > 2016-05-16 15:46 GMT+02:00 John D. Ament <johndament@apache.org>:
> >
> > > Hey guys
> > >
> > > I'm wondering if I'm doing something wrong.  I'm trying to leverage
> DS's
> > > transaction scope to start a context for the duration of a transaction,
> > per
> > > [1].  However, I keep getting a context not active.  I'm using DS 1.6.0
> > and
> > > Weld 2.3.4.
> > >
> > > John
> > >
> > >
> > > [1]:
> > >
> https://deltaspike.apache.org/documentation/jpa.html#@TransactionScoped
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message