After using JDBC to insert a new record into an MS Access table ("Rebalancing"), I need to fetch the generated AutoNumber key to use a foreign-key link in the descendant table. Why does the "SELECT @@IDENTITY" SQL statement fail, with the error message "String index is out of range"?
Start Free Trial