4 Replies Latest reply on May 7, 2004 10:10 AM by fwesterop1

    ejbSelect with MAX()

    Knut Klünker Newbie


      I have a lot of trouble with ejbSelect-methods.
      The ejbSelect-methode should return the MAX-Value of an Integer-field:
      <![CDATA[SELECT MAX(k.kundenNummer) FROM Kunde AS k]]>
      The deployment is OK, but then it methode returns a Double-Value. The return type is Integer and also the field in the Database.
      What ist wrong?