Hi Krishnan,

with ResultSetMetaData.
You can retrieve columncount like this:
        ResultSetMetaData rsmd = rst.getMetaData();
        int colnum = rsmd.getColumnCount();
This should also work for type, see JavaDoc for java.sql, ResultSetMetaData

regards
Bas Eefting


-----Original Message-----
From: Krishnan V [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 08, 2001 6:50 AM
To: [EMAIL PROTECTED]
Subject: Hi All


Can somebody help me  in retrieving Table Data Type in EJB  from a Oracle
Stored Procedure


regards
krishnan
--------------------------------------------------- Disclaimer
----------------------------------------------------------------Privileged/C
onfidential information may be contained in this mail and is intended only
for the individual named. If you are not the named addressee you should not
distribute or copy this e-mail. Please notify the sender, if you have
received this e-mail by mistake and delete it from your system. Opinions and
information in this message that do not relate to the official business of
the company shall be understood as neither given nor endorsed by it. E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, or contain viruses. The sender does
not accept liability for any errors or omissions in the contents of this
message which arise as a result of e-mail transmission. If verification is
required please request a hard-copy version.
----------------------------------------------------------------------------
---------------------------------------------------

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".


***********************************************************************
This E-Mail Message is intended exclusively for the addressee. If the
E-Mail was sent to you in error, please notify the sender immediately
by replying to this E-mail. We would then request you to destroy the
E-Mail and neither to use nor disclose the contents in any manner to
third parties, as the message could contain confidential information
which may be protected by the professional secrecy act.

This footnote also confirms that this E-mail message has been swept for
computer viruses.
***********************************************************************

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to