Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Proposed patch for Bug 256296: Reconnect failswhen session loses connectivity and Bug 256284: Closing anEMF where the database is unavailable results in deploymentexception on redeploy

Updated the patch, added tests.
Planning to check it in tomorrow (Monday).

Please send feedback.

Thanks,

Andrei
----- Original Message ----- From: "Andrei Ilitchev" <andrei.ilitchev@xxxxxxxxxx> To: "Dev mailing list for Eclipse Persistence Services" <eclipselink-dev@xxxxxxxxxxx>
Sent: Thursday, November 27, 2008 3:13 PM
Subject: Re: [eclipselink-dev] Proposed patch for Bug 256296: Reconnect failswhen session loses connectivity and Bug 256284: Closing anEMF where the database is unavailable results in deploymentexception on redeploy


Correcting the links.
----- Original Message ----- From: "Andrei Ilitchev" <andrei.ilitchev@xxxxxxxxxx> To: "Dev mailing list for Eclipse Persistence Services" <eclipselink-dev@xxxxxxxxxxx>
Sent: Thursday, November 27, 2008 2:22 PM
Subject: [eclipselink-dev] Proposed patch for Bug 256296: Reconnect failswhen session loses connectivity and Bug 256284: Closing anEMF where the database is unavailable results in deploymentexception on redeploy


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

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.
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev





Back to the top