1 Reply Latest reply on May 23, 2003 1:16 PM by Juha Lindfors

    MS SQLServer 2000 and NPE

    Manish Parikh Newbie

      I have a cmp entity bean with a primitive persistent field ( int shares ) . The column associated with the field in the table is nullable. When I call getShares() , the container throws a NPE whenever the value in the column shares is null.


      It works fine in Weblogic. Why should the getter method throw a NPE?