Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grabbing an Oracle number

Status
Not open for further replies.

craigmk

Programmer
Nov 20, 2000
11
US
How come every time I try to grab a number (integer) field from an Oracle database, I have to receive it in SilverStream as a BigDecimal? How come I can't use Integer, Long, Double, Number...?
 
Get it as an Object and then convert it to Integer or to string or whatever
Object intkijk = agData.getProperty("INTTEST.INTTEST");
Integer intkijk2 = (Integer) intkijk;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top