0 Replies Latest reply on Nov 11, 2003 9:03 AM by voodoo

    what result will Jboss-QL return

    voodoo Newbie

      I use Jboss3.2.
      I define a Entity Bean
      public abstract class testEJB implements EntityBean{
      public abstract String getID();
      public abstract void setID(String id);
      }

      I want to use Jboss-QL in jbosscmp-jdbc.xml to query all the ID which bigger than 100

      <jboss-ql>SELECT t.ID FROM testEJB AS t WHERE t.ID>100 </jboss-ql>

      what result class this query will get ?It seem it will get the collection of local interface.Could I get a Collection of String ID?