1 Reply Latest reply on Jun 26, 2012 5:42 AM by jimmyau

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

    jimmyau

      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();