[OT] Numeric Overflow

2003-12-18 Thread Raj Yadav
Hi All, I have a SQL query which give me sum from a Number column. The number is huge. It is 44515445719. I use rs.getInt(1) and it gives me Numeric Overflow Exception at Run time. I tried to use rs.getLong and rs.getDouble and they both give me compile time error. Can some one please help as to

Re: [OT] Numeric Overflow

2003-12-18 Thread ian_d_stewart
[EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: [OT] Numeric Overflow

RE: [OT] Numeric Overflow

2003-12-18 Thread Raj Yadav
Found Double Required int -raj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 10:56 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: [OT] Numeric Overflow What is the compile time error you're seeing? Ian

RE: [OT] Numeric Overflow

2003-12-18 Thread Voinea, Marina
can you get a BigDecimal() ? -Original Message- From: Raj Yadav [mailto:[EMAIL PROTECTED] Sent: Thursday, December 18, 2003 11:49 AM To: [EMAIL PROTECTED] Subject: [OT] Numeric Overflow Hi All, I have a SQL query which give me sum from a Number column. The number is huge

RE: [OT] Numeric Overflow

2003-12-18 Thread ian_d_stewart
PROTECTED] cc: Subject: RE: [OT] Numeric Overflow 12/18/2003