2 Replies Latest reply on Aug 28, 2002 5:32 PM by Derek Wood

    Can't remove entity bean!

    Kristoffer Larsson Newbie

      I am trying to remove an entity bean, i.e., a record in the database, by calling the bean's remove() method. I have tried both the remove() method in the remote interface and the remove(Object) method in the home interface, but the record is still there. Sometimes. Sometimes it does get removed from the database but most of the times it doesn't ...

      I am using MySQL as my database and CMP in my beans. I do not get any exception; on the surface everything seems to go fine, but when you look closer you realize that the record hasn't been removed from the database.

      What am I doing wrong?

      Thanks in advance!