5 Replies Latest reply on Apr 4, 2002 8:14 PM by Jason Dillon

    Register Pair 2/3 contains wrong type on ejbSelect

    Mac Rinehart Newbie

      Here's the latest. I'm now working on the latest head (updated a few hours ago). In my ejbSelectNetWorth method I'm getting a RuntimeException when deploying my appication. But I cannot for the life of me figure out what is expressed in the wrong type. Does someone know what triggers this exception? Here's my ejbSelectNetWorth method:

      &nbsp&nbsp public abstract Collection ejbSelectNetWorth(long clientId, long createDate) throws FinderException;

      and the tag:

      &nbsp&nbsp&nbsp&nbspSELECT acct.balance
      &nbsp&nbsp&nbsp&nbspFROM Account acct
      &nbsp&nbsp&nbsp&nbspWHERE acct.accountHolder.clientId = ?1
      &nbsp&nbsp&nbsp&nbsp&nbsp&nbspAND acct.accountHolder.createDate = ?2]]>

      accountHolder.clientId is long, and accountHolder.createDate is long.

      any thoughts?