[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [eclipselink-dev] Patch for bug 235433: Can't customize	ConnectionPolicy through JPA. | 
Patch for https://bugs.eclipse.org/bugs/show_bug.cgi?id=235433 :  "Can't 
customize ConnectionPolicy through JPA" is ready for review.
The proposed patch changes the property values' names to
 "Transactional",
 "Isolated",
 "Always".
also adds comments, exceptions and wrnings.
Please send you feedback asap - I hope to get it checked in in time for M9.
Thanks,
Andrei
----- Original Message ----- 
From: "Andrei Ilitchev" <andrei.ilitchev@xxxxxxxxxx>
To: "Dev mailing list for Eclipse Persistence Services" 
<eclipselink-dev@xxxxxxxxxxx>
Sent: Friday, June 13, 2008 6:10 PM
Subject: Preliminary patch for bug 235433: Can't customize ConnectionPolicy 
through JPA.
Added a preliminary patch to 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=235433 : Can't customize 
ConnectionPolicy through JPA.
The patch is fully functional and includes tests.
It allows customization of ConnectionPolicy through the properties passed 
to
createEntityManager (see the new properties in EntityManagerProperties).
It also allows creation of ExclusiveIsolatedClientSession in case no 
isolated
descriptors specified.
The patch is called "preliminary" because
1. It uses ExclusiveConnectionMode with Transaction, IsolatedSession and
Session values which hasn't been approved yet (and well may be rejected);
2. It lacks many comments.
Please send your thoughts,
Thanks,
Andrei