Subject | Re: [Firebird-Java] getUpdateCount Problem |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-12-20T21:36:14Z |
> I think the problem may be, because we are using a PreparedStatmentThis should not change the picture.
> over and over with diferent parameters.
> We have a great performance gain in this way.Sure. That's exactly the reason they were invented long time ago :)
> You need code anyway?Yes. I see the condition in getUpdateCount()
if (isResultSet || !hasMoreResults)
return -1;
and assignment hasMoreResults = false happens only in two places:
getUpdateCount() and hasMoreResults(). Both methods seems to be implemented
according to the specification.
Roman