Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.0
-
Fix Version/s: 2.0
-
Component/s: DSL for Services
-
Labels:None
-
Number of attachments :
Description
The Spring transaction attributes are generated for each service method. When we apply a combination of convention and wildcards the transaction config could be a lot more generic and simpeler. Like this:
<tx:attributes>
<tx:method name="find*" propagation="SUPPORTS" read-only="true" />
<tx:method name="retrieve*" propagation="SUPPORTS" read-only="true" />
<tx:method name="read*" propagation="SUPPORTS" read-only="true" />
<tx:method name="list*" propagation="SUPPORTS" read-only="true" />
<tx:method name="count*" propagation="SUPPORTS" read-only="true" />
<tx:method name="*" propagation="REQUIRED" />
</tx:attributes>
Activity
Johan Vogelzang
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.0 [ 16205 ] | |
| Resolution | Fixed [ 1 ] |