{"action":"created","comment":{"url":"https://api.github.com/repos/zanata/zanata-server/pulls/comments/55792518","id":55792518,"diff_hunk":"@@ -58,7 +58,7 @@\n  *\n  */\n @Entity\n-@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)\n+@Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL)","path":"zanata-model/src/main/java/org/zanata/model/HAccount.java","position":5,"original_position":5,"commit_id":"67398e96b4db6351adbab25f1f33fddd91e38a2f","original_commit_id":"67398e96b4db6351adbab25f1f33fddd91e38a2f","user":{"login":"carlosmunoz","id":84676,"avatar_url":"https://avatars.githubusercontent.com/u/84676?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosmunoz","html_url":"https://github.com/carlosmunoz","followers_url":"https://api.github.com/users/carlosmunoz/followers","following_url":"https://api.github.com/users/carlosmunoz/following{/other_user}","gists_url":"https://api.github.com/users/carlosmunoz/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosmunoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosmunoz/subscriptions","organizations_url":"https://api.github.com/users/carlosmunoz/orgs","repos_url":"https://api.github.com/users/carlosmunoz/repos","events_url":"https://api.github.com/users/carlosmunoz/events{/privacy}","received_events_url":"https://api.github.com/users/carlosmunoz/received_events","type":"User","site_admin":false},"body":"We do. Last time I tried to run it, it threw an error and said something\nalong the lines of \"Infinispan only supports Transactional cache\".\n\nCarlos A. Munoz\nAssociate Manager, Software Engineering\nGlobalization\nRed Hat\n\nOn Fri, Mar 11, 2016 at 3:58 PM, Sean Flanigan <notifications@github.com>\nwrote:\n\n> In zanata-model/src/main/java/org/zanata/model/HAccount.java\n> <https://github.com/zanata/zanata-server/pull/1111#discussion_r55792404>:\n>\n> > @@ -58,7 +58,7 @@\n> >   *\n> >   */\n> >  @Entity\n> > -@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)\n> > +@Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL)\n>\n> I'm not sure if we really need to be specifying @Cache(usage =\n> CacheConcurrencyStrategy.TRANSACTIONAL) everywhere, but if so we've\n> probably missed a few because this code was sidelined for a year.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/zanata/zanata-server/pull/1111/files#r55792404>.\n>\n","created_at":"2016-03-11T06:00:43Z","updated_at":"2016-03-11T06:00:43Z","html_url":"https://github.com/zanata/zanata-server/pull/1111#discussion_r55792518","pull_request_url":"https://api.github.com/repos/zanata/zanata-server/pulls/1111","_links":{"self":{"href":"https://api.github.com/repos/zanata/zanata-server/pulls/comments/55792518"},"html":{"href":"https://github.com/zanata/zanata-server/pull/1111#discussion_r55792518"},"pull_request":{"href":"https://api.github.com/repos/zanata/zanata-server/pulls/1111"}}},"pull_request":{"url":"https://api.github.com/repos/zanata/zanata-server/pulls/1111","id":62500866,"html_url":"https://github.com/zanata/zanata-server/pull/1111","diff_url":"https://github.com/zanata/zanata-server/pull/1111.diff","patch_url":"https://github.com/zanata/zanata-server/pull/1111.patch","issue_url":"https://api.github.com/repos/zanata/zanata-server/issues/1111","number":1111,"state":"open","locked":false,"title":"Use Infinispan for Hibernate second level cache","user":{"login":"seanf","id":54155,"avatar_url":"https://avatars.githubusercontent.com/u/54155?v=3","gravatar_id":"","url":"https://api.github.com/users/seanf","html_url":"https://github.com/seanf","followers_url":"https://api.github.com/users/seanf/followers","following_url":"https://api.github.com/users/seanf/following{/other_user}","gists_url":"https://api.github.com/users/seanf/gists{/gist_id}","starred_url":"https://api.github.com/users/seanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanf/subscriptions","organizations_url":"https://api.github.com/users/seanf/orgs","repos_url":"https://api.github.com/users/seanf/repos","events_url":"https://api.github.com/users/seanf/events{/privacy}","received_events_url":"https://api.github.com/users/seanf/received_events","type":"User","site_admin":false},"body":"When this is working:\r\n- [ ] Get carlosmunoz to review comments against 67398e9.","created_at":"2016-03-11T05:54:30Z","updated_at":"2016-03-11T06:00:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83672a42808768e2a5d9712f148ca1c2d69556c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zanata/zanata-server/pulls/1111/commits","review_comments_url":"https://api.github.com/repos/zanata/zanata-server/pulls/1111/comments","review_comment_url":"https://api.github.com/repos/zanata/zanata-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zanata/zanata-server/issues/1111/comments","statuses_url":"https://api.github.com/repos/zanata/zanata-server/statuses/67398e96b4db6351adbab25f1f33fddd91e38a2f","head":{"label":"zanata:infinispan-for-hibernate","ref":"infinispan-for-hibernate","sha":"67398e96b4db6351adbab25f1f33fddd91e38a2f","user":{"login":"zanata","id":637455,"avatar_url":"https://avatars.githubusercontent.com/u/637455?v=3","gravatar_id":"","url":"https://api.github.com/users/zanata","html_url":"https://github.com/zanata","followers_url":"https://api.github.com/users/zanata/followers","following_url":"https://api.github.com/users/zanata/following{/other_user}","gists_url":"https://api.github.com/users/zanata/gists{/gist_id}","starred_url":"https://api.github.com/users/zanata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanata/subscriptions","organizations_url":"https://api.github.com/users/zanata/orgs","repos_url":"https://api.github.com/users/zanata/repos","events_url":"https://api.github.com/users/zanata/events{/privacy}","received_events_url":"https://api.github.com/users/zanata/received_events","type":"Organization","site_admin":false},"repo":{"id":1461609,"name":"zanata-server","full_name":"zanata/zanata-server","owner":{"login":"zanata","id":637455,"avatar_url":"https://avatars.githubusercontent.com/u/637455?v=3","gravatar_id":"","url":"https://api.github.com/users/zanata","html_url":"https://github.com/zanata","followers_url":"https://api.github.com/users/zanata/followers","following_url":"https://api.github.com/users/zanata/following{/other_user}","gists_url":"https://api.github.com/users/zanata/gists{/gist_id}","starred_url":"https://api.github.com/users/zanata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanata/subscriptions","organizations_url":"https://api.github.com/users/zanata/orgs","repos_url":"https://api.github.com/users/zanata/repos","events_url":"https://api.github.com/users/zanata/events{/privacy}","received_events_url":"https://api.github.com/users/zanata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zanata/zanata-server","description":"Zanata is a web-based system for translators to translate documentation and software online using a web browser.","fork":false,"url":"https://api.github.com/repos/zanata/zanata-server","forks_url":"https://api.github.com/repos/zanata/zanata-server/forks","keys_url":"https://api.github.com/repos/zanata/zanata-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zanata/zanata-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zanata/zanata-server/teams","hooks_url":"https://api.github.com/repos/zanata/zanata-server/hooks","issue_events_url":"https://api.github.com/repos/zanata/zanata-server/issues/events{/number}","events_url":"https://api.github.com/repos/zanata/zanata-server/events","assignees_url":"https://api.github.com/repos/zanata/zanata-server/assignees{/user}","branches_url":"https://api.github.com/repos/zanata/zanata-server/branches{/branch}","tags_url":"https://api.github.com/repos/zanata/zanata-server/tags","blobs_url":"https://api.github.com/repos/zanata/zanata-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zanata/zanata-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zanata/zanata-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/zanata/zanata-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zanata/zanata-server/statuses/{sha}","languages_url":"https://api.github.com/repos/zanata/zanata-server/languages","stargazers_url":"https://api.github.com/repos/zanata/zanata-server/stargazers","contributors_url":"https://api.github.com/repos/zanata/zanata-server/contributors","subscribers_url":"https://api.github.com/repos/zanata/zanata-server/subscribers","subscription_url":"https://api.github.com/repos/zanata/zanata-server/subscription","commits_url":"https://api.github.com/repos/zanata/zanata-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/zanata/zanata-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/zanata/zanata-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/zanata/zanata-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/zanata/zanata-server/contents/{+path}","compare_url":"https://api.github.com/repos/zanata/zanata-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zanata/zanata-server/merges","archive_url":"https://api.github.com/repos/zanata/zanata-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zanata/zanata-server/downloads","issues_url":"https://api.github.com/repos/zanata/zanata-server/issues{/number}","pulls_url":"https://api.github.com/repos/zanata/zanata-server/pulls{/number}","milestones_url":"https://api.github.com/repos/zanata/zanata-server/milestones{/number}","notifications_url":"https://api.github.com/repos/zanata/zanata-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zanata/zanata-server/labels{/name}","releases_url":"https://api.github.com/repos/zanata/zanata-server/releases{/id}","deployments_url":"https://api.github.com/repos/zanata/zanata-server/deployments","created_at":"2011-03-10T00:24:47Z","updated_at":"2016-03-10T14:00:54Z","pushed_at":"2016-03-11T05:54:30Z","git_url":"git://github.com/zanata/zanata-server.git","ssh_url":"git@github.com:zanata/zanata-server.git","clone_url":"https://github.com/zanata/zanata-server.git","svn_url":"https://github.com/zanata/zanata-server","homepage":"http://zanata.org","size":194013,"stargazers_count":154,"watchers_count":154,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":20,"forks":44,"open_issues":20,"watchers":154,"default_branch":"master"}},"base":{"label":"zanata:master","ref":"master","sha":"6d48ad91e0abfd8a12077e9e49169f636ffd1ed6","user":{"login":"zanata","id":637455,"avatar_url":"https://avatars.githubusercontent.com/u/637455?v=3","gravatar_id":"","url":"https://api.github.com/users/zanata","html_url":"https://github.com/zanata","followers_url":"https://api.github.com/users/zanata/followers","following_url":"https://api.github.com/users/zanata/following{/other_user}","gists_url":"https://api.github.com/users/zanata/gists{/gist_id}","starred_url":"https://api.github.com/users/zanata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanata/subscriptions","organizations_url":"https://api.github.com/users/zanata/orgs","repos_url":"https://api.github.com/users/zanata/repos","events_url":"https://api.github.com/users/zanata/events{/privacy}","received_events_url":"https://api.github.com/users/zanata/received_events","type":"Organization","site_admin":false},"repo":{"id":1461609,"name":"zanata-server","full_name":"zanata/zanata-server","owner":{"login":"zanata","id":637455,"avatar_url":"https://avatars.githubusercontent.com/u/637455?v=3","gravatar_id":"","url":"https://api.github.com/users/zanata","html_url":"https://github.com/zanata","followers_url":"https://api.github.com/users/zanata/followers","following_url":"https://api.github.com/users/zanata/following{/other_user}","gists_url":"https://api.github.com/users/zanata/gists{/gist_id}","starred_url":"https://api.github.com/users/zanata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zanata/subscriptions","organizations_url":"https://api.github.com/users/zanata/orgs","repos_url":"https://api.github.com/users/zanata/repos","events_url":"https://api.github.com/users/zanata/events{/privacy}","received_events_url":"https://api.github.com/users/zanata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zanata/zanata-server","description":"Zanata is a web-based system for translators to translate documentation and software online using a web browser.","fork":false,"url":"https://api.github.com/repos/zanata/zanata-server","forks_url":"https://api.github.com/repos/zanata/zanata-server/forks","keys_url":"https://api.github.com/repos/zanata/zanata-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zanata/zanata-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zanata/zanata-server/teams","hooks_url":"https://api.github.com/repos/zanata/zanata-server/hooks","issue_events_url":"https://api.github.com/repos/zanata/zanata-server/issues/events{/number}","events_url":"https://api.github.com/repos/zanata/zanata-server/events","assignees_url":"https://api.github.com/repos/zanata/zanata-server/assignees{/user}","branches_url":"https://api.github.com/repos/zanata/zanata-server/branches{/branch}","tags_url":"https://api.github.com/repos/zanata/zanata-server/tags","blobs_url":"https://api.github.com/repos/zanata/zanata-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zanata/zanata-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zanata/zanata-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/zanata/zanata-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zanata/zanata-server/statuses/{sha}","languages_url":"https://api.github.com/repos/zanata/zanata-server/languages","stargazers_url":"https://api.github.com/repos/zanata/zanata-server/stargazers","contributors_url":"https://api.github.com/repos/zanata/zanata-server/contributors","subscribers_url":"https://api.github.com/repos/zanata/zanata-server/subscribers","subscription_url":"https://api.github.com/repos/zanata/zanata-server/subscription","commits_url":"https://api.github.com/repos/zanata/zanata-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/zanata/zanata-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/zanata/zanata-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/zanata/zanata-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/zanata/zanata-server/contents/{+path}","compare_url":"https://api.github.com/repos/zanata/zanata-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zanata/zanata-server/merges","archive_url":"https://api.github.com/repos/zanata/zanata-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zanata/zanata-server/downloads","issues_url":"https://api.github.com/repos/zanata/zanata-server/issues{/number}","pulls_url":"https://api.github.com/repos/zanata/zanata-server/pulls{/number}","milestones_url":"https://api.github.com/repos/zanata/zanata-server/milestones{/number}","notifications_url":"https://api.github.com/repos/zanata/zanata-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zanata/zanata-server/labels{/name}","releases_url":"https://api.github.com/repos/zanata/zanata-server/releases{/id}","deployments_url":"https://api.github.com/repos/zanata/zanata-server/deployments","created_at":"2011-03-10T00:24:47Z","updated_at":"2016-03-10T14:00:54Z","pushed_at":"2016-03-11T05:54:30Z","git_url":"git://github.com/zanata/zanata-server.git","ssh_url":"git@github.com:zanata/zanata-server.git","clone_url":"https://github.com/zanata/zanata-server.git","svn_url":"https://github.com/zanata/zanata-server","homepage":"http://zanata.org","size":194013,"stargazers_count":154,"watchers_count":154,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":20,"forks":44,"open_issues":20,"watchers":154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zanata/zanata-server/pulls/1111"},"html":{"href":"https://github.com/zanata/zanata-server/pull/1111"},"issue":{"href":"https://api.github.com/repos/zanata/zanata-server/issues/1111"},"comments":{"href":"https://api.github.com/repos/zanata/zanata-server/issues/1111/comments"},"review_comments":{"href":"https://api.github.com/repos/zanata/zanata-server/pulls/1111/comments"},"review_comment":{"href":"https://api.github.com/repos/zanata/zanata-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zanata/zanata-server/pulls/1111/commits"},"statuses":{"href":"https://api.github.com/repos/zanata/zanata-server/statuses/67398e96b4db6351adbab25f1f33fddd91e38a2f"}}}}