0 Replies Latest reply on Feb 19, 2002 8:58 AM by Andreas

    JAWS returns null

    Andreas Newbie


      I'm using JBoss 2.4.4_Tomcat-4.0.1.
      I've got a CMP with the following jaws.xml:




      schluessel IN (SELECT ArtikelZuAnwendung.anw_schluessel
      FROM ArtikelZuAnwendung WHERE ArtikelZuAnwendung.artnr = {0}



      In my test source I do the following:

      ArtikelLocal artikelLocal = ArtikelLocalHome.findByPrimaryKey(new AnwendungPK("11"));
      String id = artikelLocal.getId();
      String name = artikelLocal.getName();
      System.out.println(id + " " + name);

      there is some text in table anwendung, but the output is:

      [13:40:58,432,Default]11 null

      any idea??

      thanks alot