Issue Details (XML | Word | Printable)

Key: DERBY-130
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Daniel John Debrunner
Reporter: Daniel John Debrunner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

IDENTITY_VAL_LOCAL not reset when new Connection returned from PooledConnection

Created: 22/Jan/05 07:16 AM   Updated: 12/Jul/06 06:43 AM
Return to search
Component/s: JDBC
Affects Version/s: 10.0.2.1, 10.1.1.0
Fix Version/s: 10.1.1.0

Time Tracking:
Not Specified

Resolution Date: 24/Jan/05 01:36 AM


 Description  « Hide
With embedded pooled connections identity column values can be leaked from one user's connection to the other. With a PooledConnection the state of IDENTITY_VAL_LOCAL variable is not reset when the underlying EmbeddedConnection is re-used.
Thus an application can use this function to see a value that was returned to a previous user of the pooled connection.

A general reset() mechanism is needed on EmbeddedConnection/LanguageConnectionContext, this could replace and encapsulate the current single item that is reset, dropping of session temporary tables.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.