This content has been marked as final. 
    
Show                 3 replies
    
- 
        1. Re: IdentityManager doesn't persist users and rolesshane.bryzak Dec 11, 2009 11:20 AM (in response to vestnik)It sounds like the transaction is possibly not being committed. From where are you invoking the methods - inside a JSF action or something? 
- 
        2. Re: IdentityManager doesn't persist users and rolesvestnik Dec 11, 2009 11:41 AM (in response to vestnik)Yes I'm creating users and roles from some application installation JSF page. Action of the h:commandButton invokes method of a conversation scope component but there is no long running conversation or pageflow. 
- 
        3. Re: IdentityManager doesn't persist users and rolesvestnik Dec 21, 2009 12:35 PM (in response to vestnik)This issue has disappeared mystically after some changes in the code. The only important change I've made is removing all places I was calling entityManager.flush() manually. 
 
    