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,
Harald

Reply via email to