[
https://jira.jboss.org/jira/browse/WELD-250?page=com.atlassian.jira.plugi...
]
Pete Muir updated WELD-250:
---------------------------
Component/s: Producers (Methods, Fields and Disposers)
Fix Version/s: 1.0.0.CR2
@SessionScoped components cannot make use of non Serializable
producer beans like EntityManager producers
---------------------------------------------------------------------------------------------------------
Key: WELD-250
URL:
https://jira.jboss.org/jira/browse/WELD-250
Project: Weld
Issue Type: Bug
Components: Producers (Methods, Fields and Disposers)
Reporter: Emmanuel Bernard
Fix For: 1.0.0.CR2
Reported at Pete's request
public class Databases {
@Produces
@PersistenceContext(unitName = "users")
@Users
EntityManager userDatabaseEntityManager;
}
@Named
@SessionScoped
public class Identifier implements Serializable {
private boolean logged;
private User user = new User();
@Inject @Users private EntityManager usersEntityManager;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira