[
https://issues.apache.org/jira/browse/OWB-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15128421#comment-15128421
]
Romain Manni-Bucau commented on OWB-1112:
-----------------------------------------
[~victorpasqualino] 1.2 implements *CDi 1.0*. it was providing some CDi 1.1
features in a org.apache.openwebbeans package but CDI 1.1 was not the target
(API was still CDI 1.0)
> CDI Producer method
> -------------------
>
> Key: OWB-1112
> URL: https://issues.apache.org/jira/browse/OWB-1112
> Project: OpenWebBeans
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.7
> Environment: Arch Linux kernel 4.3.3, application server TomEE 1.7.3
> PLUME
> Reporter: Victor Machado Pasqualino
>
> I have the producer method
> @Produces
> @ViewScoped
> @ViewEntityManager
> private EntityManager viewEntityManager() {
> return new EntityManagerImpl(entityManagerFactory);
> }
> The problem is EntityManager.class is not serializable so a error saying
> EntityManager.class it's not serializable and @ViewScoped should be
> serializable. But EntityManagerImpl.class is a serializable class. Weld
> implementation works fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)