Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Any1 know of a Java tool (class) that will do this?

Re: Any1 know of a Java tool (class) that will do this?

From: Steve Long <slong_at_ieee.org>
Date: Mon, 05 May 2003 13:14:49 GMT
Message-ID: <fe25ae4aac80799bf2c31664f45a39d6@TeraNews>


Look at java.sql.ResultSetMetaData
This package provides the column names and data types of the result set in a java.sql.ResultSet cursor.
To generate a script, you would have to write a java print routine.

"Noons" <wizofoz2k_at_yahoo.com.au.nospam> wrote in message news:Xns9372DD11EA225Tokenthis_at_210.49.20.254...
> "This" is:
>
> - Given a PL/SQL package that returns an untyped REFCURSOR,
> interrogate the cursor via JDBC and get all column names and
> their datatypes.
>
> - List them out into a script file to be used to create an
> Oracle Object Type.
>
>
> Just on the off-chance any1 has already "been there done that"
> so I don't have to re-invent boiled water...
>
> TIA
> --
> Cheers
> Nuno Souto
> wizofoz2k_at_yahoo.com.au.nospam
Received on Mon May 05 2003 - 08:14:49 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US