[
https://issues.apache.org/jira/browse/DELTASPIKE-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14658577#comment-14658577
]
Gerhard Petracek commented on DELTASPIKE-967:
-
it sounded like you are talking about
org.apache.deltaspike.jpa.api.transaction.TransactionScoped.
however, in both cases, it needs to be managed by the container itself, because
such beans depend on an active transaction - everything else doesn't make a lot
of sense imo...
Ability to start transaction scope manually
---
Key: DELTASPIKE-967
URL: https://issues.apache.org/jira/browse/DELTASPIKE-967
Project: DeltaSpike
Issue Type: New Feature
Affects Versions: 1.4.2
Reporter: John D. Ament
Currently, the CDI Context controller class defines methods to manually start
the CDI 1.0 provided scopes - Request, Session, Application and
ConversationScoped.
There's presently no way in the DS codebase to manually start a
TransactionScope using the controllers
See here
https://github.com/apache/deltaspike/blob/master/deltaspike/cdictrl/impl-weld/src/main/java/org/apache/deltaspike/cdise/weld/WeldContextControl.java#L76
https://github.com/apache/deltaspike/blob/master/deltaspike/cdictrl/impl-owb/src/main/java/org/apache/deltaspike/cdise/owb/OpenWebBeansContextControl.java#L72
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)