Skip to content

Commit

Permalink
Merge pull request #15 from rene-ye/UnexpectedErrMsg
Browse files Browse the repository at this point in the history
unexpected error message
  • Loading branch information
rene-ye authored Feb 8, 2018
2 parents 506e070 + c2d0997 commit 4a0e69d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1450,6 +1450,8 @@ public NClob getNClob(String parameterName) throws SQLException {
int l = 0;
if (paramNames != null)
l = paramNames.size();
if (l == 0)//Server didn't return anything, user might not have access
return 1;//attempting to look up the first column will return no access exception

// handle `@name` as well as `name`, since `@name` is what's returned
// by DatabaseMetaData#getProcedureColumns
Expand Down

0 comments on commit 4a0e69d

Please sign in to comment.