deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Wellmann <>
Subject DeltaSpike Data and Container Managed Transactions
Date Fri, 27 Sep 2013 11:03:32 GMT
What is the proposed usage pattern of DeltaSpike Data in Java EE with
container managed transactions?

Is it possible to combine @Repository with @Stateless to make each
repository method transactional by default?

Is it possible or recommended to use DeltaSpike Data with DeltaSpike
JPA, adding @Transactional to a @Repository to make it transactional?

Or should one simply assume that @Repository methods are never called
in non-transactional contexts, e.g. by designing a service layer on
top of the repository layer and doing all transaction management in
the service layer?

Best regards,

PS: Sorry if you get this message twice, I had sent it to the old
incubator mailing list by mistake.

View raw message