3 Replies Latest reply on Apr 29, 2002 4:11 PM by Dain Sundstrom

    create returns home

    Chris Newbie

      Hi,

      I'm using JBoss3 alpha and I am using reflection to create my Bean....this actually works and I can see in my database that the data has been persisted.

      But the method.invoke call is returning the Home interface (instead of the Remote)!!!!

      Object remote = mutatorMethod.invoke(home, allData);

      ...if I put a debug statement in and hard-code what the actual Home Interface class is, then I *do* get the
      remote - so it only fails when I am using reflection.

      Is this a known bug that has now been fixed in the subsequent releases? Or am I doing something bizarre here?

      TIA

      Chris.Shaw(AT)ECB.int