I have a ClassCastException on method findByPrimaryKey (java.lang.Short pk), i try mapping a number(5) of Oracle 8i to java.lang.Short and i have the Exception in the called to method in the SessionBean facade...thanks for your help...