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: Jdbc PreparedStatement doesn't support parsing

Re: Jdbc PreparedStatement doesn't support parsing

From: Haximus <e_at_t.me>
Date: Mon, 21 Feb 2005 02:06:21 GMT
Message-ID: <xmbSd.8994$0h.3185@clgrps13>


"maxmike" <maxmike_at_imag.net> wrote in message news:1108946879.561439.114840_at_z14g2000cwz.googlegroups.com...
> When will Oracle ever support JDBC properly?
> If I try this:
> prepstat = conn.prepareStatement(sqltext);
> meta = prepstat.getMetaData();
> I get an ORA-01003 (no statement parsed) error.
> This works well with other JDBC drivers, and is a very important
> feature if you are trying to find out what types of data your execution
> would emit without actually having to execute on a mega-row table to
> find out. Like for example if you have complex expressions and want to
> preview if a union is possible. Geez, Oracle.

Just add a clause so the query returns zero records, i.e. WHERE 1=0 or something to that effect. Received on Sun Feb 20 2005 - 20:06:21 CST

Original text of this message

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