[
https://issues.apache.org/jira/browse/EXTCDI-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847040#action_12847040
]
Gurkan Erdogdu commented on EXTCDI-4:
-------------------------------------
Problem is that
EntityManagerProducer defines disposal method that has an InjectionPoint
parameter. According to the spec,
"If a bean that declares any scope other than @Dependent has an injection point
of type InjectionPoint and qualifier
@Default, the container automatically detects the problem and treats it as a
definition error.
"
In our implementation, we treat disposal methods InjectionPoint#getBean as a
Managed Bean i.ie EntityManagerProducer and it has not scoped as @Dependent.
Therefore it throws Exception.
> transactional annotation
> ------------------------
>
> Key: EXTCDI-4
> URL: https://issues.apache.org/jira/browse/EXTCDI-4
> Project: MyFaces CODI
> Issue Type: New Feature
> Reporter: Gerhard Petracek
> Attachments: EntityManagerProducer.java, PersistenceContext.java,
> Transactional.java, TransactionHandler.java
>
>
> @Transactional should act like the equivalent spring annotation and it should
> be compatible with every custom cdi-scope.
> @TransactionAttribute should be supported as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.