Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Proposed patch for Bug 256296: Reconnect fails when session loses connectivity and Bug 256284: Closing an EMF where the database is unavailable results in deployment exception on redeploy

The proposed fix (found in https://bugs.eclipse.org/bugs/show_bug.cgi?id=2562926) fixes to closely related bugs:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256284
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256292

Currently there are no tests - to reproduce ther bugs one has to insure that db connections become invalid, then the new connections become available, again.

In manual tests that could be achieved by either unplugging/plugging of the network cable, or stopping/starting the db service (all done at the right time while stepping through the code in debugger).

I am currently trying to implement tests that would use wrapped connections - in case it goes well the tests will be added; if not then the patch will be checked in without automatic tests.

Please send any feed back you may have.

Thanks,

Andrei.


Back to the top