Re: Is this a bug ?
Posted by: R Lenard
Date: December 21, 2004 10:28PM

Yes - the original stack trace.

I'm sure it's not as simple as just the ORDER BY query, but I was able to work around the problem by doing this before the order by query

// Done in a normal statement
SELECT 1 FROM table;

// This is actually done in a PreparedStatement
SELECT * FROM table WHERE keyfield = 'blah' ORDER BY secondfield ASC;

If it's there the exception isn't thrown (i.e. the correct exception about table not exists) is thrown. If it isn't there the "Unknown Command" exception is thrown

Options: ReplyQuote


Subject
Written By
Posted
December 19, 2004 09:22PM
December 20, 2004 03:27PM
December 20, 2004 03:42PM
December 20, 2004 05:13PM
December 21, 2004 07:12PM
December 21, 2004 07:52PM
December 21, 2004 09:32PM
December 21, 2004 09:43PM
December 21, 2004 10:13PM
Re: Is this a bug ?
December 21, 2004 10:28PM
December 21, 2004 11:38PM
December 21, 2004 11:45PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.