Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-dev] Patch for bug 235433: Can'tcustomizeConnectionPolicy through JPA.

Checked in.
Review by James is pending.
----- Original Message ----- From: "Andrei Ilitchev" <andrei.ilitchev@xxxxxxxxxx> To: "Dev mailing list for Eclipse Persistence Services" <eclipselink-dev@xxxxxxxxxxx>
Sent: Tuesday, June 17, 2008 3:52 PM
Subject: Re: [eclipselink-dev] Patch for bug 235433: Can'tcustomizeConnectionPolicy through JPA.


Uploaded a new patch for this bug.

Changes since the previous patch:
config package was moved from jpa package,
some changes in properties' processing, some added comments in ConnectionPolicy, the prev. patch for some reasom didn't include ExclusiveConnectionMode class.

Thanks,

Andrei
----- Original Message ----- From: "Andrei Ilitchev" <andrei.ilitchev@xxxxxxxxxx> To: "Dev mailing list for Eclipse Persistence Services" <eclipselink-dev@xxxxxxxxxxx>
Sent: Monday, June 16, 2008 5:27 PM
Subject: [eclipselink-dev] Patch for bug 235433: Can't customizeConnectionPolicy 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

_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev


_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev




Back to the top