|
| Herlani,
Thanks for the reply. But our SP accepts 31 params and I am trying to
retrieve 30th one. Even if I am trying to retrieve an out of bound param,
driver code should not crash, it should give some error code with valid
explanation.
Also we are getting null pointer exceptions for many of our stored
procedures, but the stack trace is different from last one. (Actual code was
like call.getInt(2))
java.lang. NullPointerException
com.microsoft.sqlserver.jdbc.StreamRetValue.deserialize(Unknown Source)
com.microsoft.sqlserver.jdbc. SQLServerCallableSta
tement. indexOutParams(Unkno
wn Source)
com.microsoft.sqlserver.jdbc. SQLServerCallableSta
tement. getOutParameters(Unk
nown Source)
com.microsoft.sqlserver.jdbc. SQLServerCallableSta
tement. getterGetParam(Unkno
wn Source)
com.microsoft.sqlserver.jdbc. SQLServerCallableSta
tement.getInt(Unknown Source)
com.ibm.ws.rsadapter.jdbc. WSJdbcCallableStatem
ent. getInt(WSJdbcCallabl
eStatement.java:390)
com.xyz.SecurityDAO.logon(SecurityDAO.java:153)
Thanks,
Kotha.
"HERLANI JUNIOR" wrote:
[color=darkred]
> Kotha,
>
> Are you sure, that the call are you doing has 30 output parameters ?
>
> Look the exception:
> com.microsoft.sqlserver.jdbc. SQLServerCallableSta
tement.indexOutParams
>
> Rgds,
>
>
>
> "Kotha" wrote:
>
|
|