| Summary: | Problems with ClientSession connections | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Andrei Ilitchev <andrei.ilitchev> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Andrei Ilitchev
Created attachment 185263 [details]
proposed patch
- postAcquireConnection events called before any usage of connection (including begin transaction) and there are no duplicate calls;
- non pooled connection case - connect before adding connection to the ClientSession;
- renamed postConnectExternalConnection and preDisconnectExternalConnection to postAcquireConnection and preReleaseConnection respectively. Use these methods consistently in all cases to rise these events.
Created attachment 185462 [details]
Updated patch
Updated patch checked into trunk (2.2). The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |