hi claudio,

please have a look at [1]. there you can see several differences compared
to your demo.
e.g. you don't have the TransactionalInterceptor in your beans.xml (see
[2]). if you would like to use jta, please have a look at [3].

regards,
gerhard

[1]
https://github.com/jboss-developer/jboss-wfk-quickstarts/blob/2.6.0.Final/kitchensink-deltaspike
[2] http://deltaspike.apache.org/documentation/jpa.html#__transactional
[3] http://deltaspike.apache.org/documentation/jpa.html#_jta_support



2014-09-24 10:39 GMT+02:00 Gerhard Petracek <[email protected]>:

> thx for providing the demo-application which illustrates the issue. i'll
> have a look at it.
>
> regards,
> gerhard
>
>
>
> 2014-09-24 3:51 GMT+02:00 Claudio Miranda <[email protected]>:
>
>> On Mon, Sep 22, 2014 at 5:36 PM, Gerhard Petracek
>> <[email protected]> wrote:
>> > that part of the documentation is based on demo-applications.
>> > if something doesn't work for you, please provide a link to
>> > a demo-application which illustrates the issue.
>>
>> See [1] for the demo application that reproduces the issue. There are
>> two applications based on kitchensink from wildfly quickstarts.
>> kitchensink-em uses the @PersistenceContext and the @Transactional works.
>> kitchensink-emf uses the @PersistenceUnit and the @Transactional doesn't
>> work.
>>
>> To reproduce, build them and deploy to wildfly 8.1, go to the
>> application and register a member, it the persist operation is
>> implemented in the MemberRegistration class.
>>
>> 1. https://www.dropbox.com/s/vid6s7vq2oqnx4g/deltaspike.zip?dl=0
>>
>> Kind regards
>> --
>>   Claudio Miranda
>>
>> [email protected]
>> http://www.claudius.com.br
>>
>
>

Reply via email to