You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by gonzalad <gi...@git.apache.org> on 2017/05/28 22:48:38 UTC

[GitHub] cxf pull request #275: [CXF-7374] Fix for jpa refreshToken writeLock

GitHub user gonzalad opened a pull request:

    https://github.com/apache/cxf/pull/275

    [CXF-7374] Fix for jpa refreshToken writeLock

    Fix for Jpa refreshToken writeLock:
     - writeLock is only called if RT already exist in db
       (rt.accessTokens > 0)
     - writeLock is moved to JPACMTCodeDataProvider
       it can only be used on CMT managed entityManagers
       since the transaction must span all the refreshAccessToken method
       (in non-CMTs, we have multiple tx for this single method).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gonzalad/cxf CXF-7374

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cxf/pull/275.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #275
    
----
commit 07a1641b6d27d73d77b18371b473dcb1500908c7
Author: gonzalad <ad...@yahoo.fr>
Date:   2017-05-28T22:45:41Z

    [CXF-7374] Fix for jpa refreshToken writeLock
    
    Fix for Jpa refreshToken writeLock:
     - writeLock is only called if RT already exist in db
       (rt.accessTokens > 0)
     - writeLock is moved to JPACMTCodeDataProvider
       it can only be used on CMT managed entityManagers
       since the transaction must span all the refreshAccessToken method
       (in non-CMTs, we have multiple tx for this single method).

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] cxf pull request #275: [CXF-7374] Fix for jpa refreshToken writeLock

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cxf/pull/275


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---