Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

ORA-00904 & JDBC: get name of invalid column



Hello all,

does anybody know of a method, to access the offending column name when you receive an "ORA-00904: invalid column name" through JDBC?

SQL*Plus tries to put an asterix below the name of the column, but I have not found a way to retrieve the wrong name when receiving this error through JDBC.

I have tried the warnings supplied on the Statement and the Connection object, and I have checked if there are any messages available from the dbms_output but to no avail. The SQLException itself does not seem contain any additional information.

Is it possible at all to retrieve this information from the JDBC driver, or am I hunting for something impossible?


Any help is greatly appreciated!


Thanks in advance
Thomas




<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.