0 Replies Latest reply on Feb 18, 2006 9:02 AM by grohl

    [BeanLock] removing bean lock and it has tx set!

    grohl

      Hello:

      I'm using 3.2 JBoss release

      The next error message

      ERROR [BeanLock] removing bean lock and it has tx set! org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock@1f4bcdb

      is wrote in log file when I'm trying to remove ( remove() method ) some entities.
      I use remove(pk), where pk means primary key class

      The operation works fine: all records in database are deleted . Indeed , althought is wrote this message, isn't thrown any exception.

      I've read that could be about the PK class and its hascode() and equals() methods, but I really don't know why

      Anyone knows about this message ?

      Thanks !