]
Pete Muir closed WELD-250.
--------------------------
Resolution: Done
Assignee: Pete Muir
@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
Assignee: Pete Muir
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: