0 Replies Latest reply on Feb 25, 2004 8:44 AM by tonynie

    Bean lock and inheritance on PKs

    tonynie

      I use jboss 3.2.1
      I've got two ejbs. They both use PK classes, derived from one super class. The super class has the hash code and equals methods and works fine as a PK class in its own right. But when I use the derived classes jboss throws a

      java.lang.IllegalStateException removing bean lock and it has tx set!

      The derived classes are actually empty other than their constructors and do not have their own hash code or equals methods, but I assumed jboss would find them in the super class. Is this a bad assumption ? Ideas anyone ?

      Thanks, Tony.