Re: Interpreting error message
Tobias Downer <[email protected]>
| Newsgroups | gmane.comp.db.mckoi |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin, That is generated when an attempt is made to dispose a ResultSet object, server-side, that has already been disposed or otherwise invalidated. Often this message happens when a Statement or ResultSet object is being used incorrectly with respect to multiple-threaded usage on the client. A Statement and its ResultSet object may only be accessed by a single thread at any given time on the client. You should not share Statement/ResultSet objects between different threads unless you can assure that only 1 thread will access the Statement/ResultSet at one time. It's a quick and simple operation to create new Statement objects when needed, so if you employ any sort of Statement caching on the client I recommend removing it and instead create a new Statement whenever necessary. Toby. [email protected] wrote: > Toby, could you please explain the meaning of this error? > > com.mckoi.database.jdbcserver.JDBCDatabaseInterface ( lvl: 40 ) > Attempt to dispose invalid 'result_id'. > > Thanks a lot, Martin. --------------------------------------------------------------- Mckoi SQL Database mailing list http://www.mckoi.com/database/ To unsubscribe, send a message to [email protected]