Hi,

I encountered the null reference problem like described in 
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgNo=1126.
 

By reading these messages archive, I see two solutions to solve this problem : 

1.  use wrappers (see 
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgNo=1612
 ). Some people are saying that Long is a solution  
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgNo=1614
 and 
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgNo=1616,
other ones are saying BigDecimal's need to be used.

2. modify the code ( see 
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]&msgId=466546)
 to take null's into account.


I have three questions : 
a. WHICH wrapper is going to work : Integer, Long, BigDecimal and/or an other one ?
b. what are the advantages, disadvantages of both solutions ?
c. shall a new release of OJB contain support for null in Integer's or int's ?

Thanks for helping me to solve this dilemma.

Reply via email to