2 Replies Latest reply on Jun 1, 2006 9:51 AM by David Hosier

    Deleting from Identity Module

    David Hosier Novice

      I'm trying to add code to the IdentitySession class to delete users and groups. I did some research and figured out that when you want to do a delete using Hibernate, you're supposed to get the object and pass that to the delete method. So I came up with the following code:

      User user = getUserByName(userName);

      However, when I tried to delete a User, it deleted every single user in my database, along with every group that had a membership. Is this a jbpm Hibernate configuration problem? Did I do something wrong? I posted this here since I'm messing directly with the jbpm classes, so hopefully that's ok.