问题
I am having some trouble with my java app querying an Access DB (.mdb). I am getting this error:
[Microsoft][ODBC Driver Manager] Invalid string or buffer length
but only when attempting to call resultset.getString("xxx")
on certain rows. About half of the rows that I am querying process just fine but the other half give me this error. It seems like a problem with the data in the row itself but I can't quite figure out what would cause this.
来源:https://stackoverflow.com/questions/23371457/how-to-resolve-invalid-string-or-buffer-length-after-calling-resultset-getstri