Conversion to integer failed java. And then post an exception from that including the stack trace. ROWID is a class. Presumably you just want some generated key. That’s not a normal error – that implies that you’re running incompatible versions of some libraries. I download another jdbc driver ojdbc Sign up using Facebook.
|Date Added:||6 August 2015|
|File Size:||11.99 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
getInt not implemented for class | Oracle Community
The problem is that you think the first column of getGeneratedKeys contains the value of the CID column of the inserted row, but it doesn’t.
To determine those you look at the documentation for the class. This means that the driver does not supportthis feature, so get it done though some SP and use it in your Java code. It contains the rowid, which is a special pseudocolumn defined by Oracle. Instead you should be able to explicitly specify the column you want returned using prepareStatement String sql, int columnIndexes or prepareStatement String sql, String columnNames. See if getRowId works instead.
Sign up using Facebook.
nvalid column type: getInt not implemented for class oracle.jdbc.driver.T4CRowidAccessor
Like Mark suggested, I just faced the same problem and found the solution: Sign up or log in Sign up using Google. This content has been marked as final. Learn from thousands of community experts Get answers to your technical questions Share your knowledge with peers 1, Here is the oraclw.jdbc.driver So write stored procedure that inserts the data and gets the key. Why the oracle is so outdated??!
Ali Bassam 5, 17 53 I was getting this error for sometime, but never needed to use any id after a insert.
Sign up using Email and Password. T4CRowidAccessor [java] at oracle. Go to original post. This discussion is archived.
Presumably you just want some generated key. ROWID is a class.