NUMBER datatype = int, so you would do a
setMyIntMethod(rs.getInt("thecolumn")); // Of course you can also use a
column number instead of a name.
R
On 7/7/02 8:18 PM, "? ??" <[EMAIL PROTECTED]> wrote:
> sorry can you use java.sql.getString("fieldName");
>
> ----- Original Message -----
> From: "Christian Hamann L" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, July 07, 2002 4:25 AM
> Subject: HiAll, i need help about get paramaters of oracle 8i - URGENT!!
>
>
>> Hi All
>> i have problems with my servlet, it has an CallableStatement which call my
>> store procedure in a Oracle 8i Database, i need to receive parameter of
> type
>> NUMBER.
>> So, oracle has objects like NUMBER,VARCHAR2, INTEGER, but i dont know how
>> should i do to receive them...i can get varchar, but number.. i cant..
>> How can i receive objets type NUMBER of my oracle Database using java...
>> without use oracle classes.
>> atte
>> Christian Hamann L.
>>
>>
> ===========================================================================
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>> http://archives.java.sun.com/jsp-interest.html
>> http://java.sun.com/products/jsp/faq.html
>> http://www.esperanto.org.nz/jsp/jspfaq.jsp
>> http://www.jguru.com/faq/index.jsp
>> http://www.jspinsider.com
>>
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com