John D. Ament created DELTASPIKE-956:
----------------------------------------
Summary: Clearly document transaction integration patterns for
repository classes
Key: DELTASPIKE-956
URL: https://issues.apache.org/jira/browse/DELTASPIKE-956
Project: DeltaSpike
Issue Type: New Feature
Components: Data-Module, Documentation, JPA-Module
Affects Versions: 1.4.1
Reporter: John D. Ament
I was implementing Data on top of WildFly 9 today. After about an hour of
battling I got it to work end to end. In my case I was using a REST API, but
used these steps:
- Annotate the outermost layer with @javax.transactional.Transactional
- Set the transaction strategy to container managed (Separate JIRA ticket
coming for this pain)
Only then did saves work properly for the repository interface.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)