1 Reply Latest reply: Jun 26, 2012 5:42 AM by jimmy 6 RSS

    Jboss5 entity bean version 2. New instance return on each get

    jimmy 6 Newbie

      Migration from Jboss4 to Jboss5 causes entity bean return new object instance.

       

      The following 2 lines return different hash code. This only happen in jboss5. Any configuration for this?

      entityBeanHomeObject.getAccount().hashCode();

      entityBeanHomeObject.getAccount().hashCode();