Is there any way to fetch the column name name for which SQL exception occurred?
For example a table MyTable is defined as --
UID NOT NULL NUMBER
Now if issue following insert it will raise ORA-01722-
INSERT INTO testchild VALUES(5, 'tes')
as AGE column expects a number, but we are providing a string.
So i want in my JDBC program to get for which column (here age) this error occurred.
Please help on this.