{"action":"created","issue":{"url":"https://api.github.com/repos/hibernate/hibernate-orm/issues/1193","labels_url":"https://api.github.com/repos/hibernate/hibernate-orm/issues/1193/labels{/name}","comments_url":"https://api.github.com/repos/hibernate/hibernate-orm/issues/1193/comments","events_url":"https://api.github.com/repos/hibernate/hibernate-orm/issues/1193/events","html_url":"https://github.com/hibernate/hibernate-orm/pull/1193","id":122741016,"number":1193,"title":"HHH-10384 Fix thread safety issues in thread local optimiser","user":{"login":"stuartwdouglas","id":328571,"avatar_url":"https://avatars.githubusercontent.com/u/328571?v=3","gravatar_id":"","url":"https://api.github.com/users/stuartwdouglas","html_url":"https://github.com/stuartwdouglas","followers_url":"https://api.github.com/users/stuartwdouglas/followers","following_url":"https://api.github.com/users/stuartwdouglas/following{/other_user}","gists_url":"https://api.github.com/users/stuartwdouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartwdouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartwdouglas/subscriptions","organizations_url":"https://api.github.com/users/stuartwdouglas/orgs","repos_url":"https://api.github.com/users/stuartwdouglas/repos","events_url":"https://api.github.com/users/stuartwdouglas/events{/privacy}","received_events_url":"https://api.github.com/users/stuartwdouglas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sebersole","id":234515,"avatar_url":"https://avatars.githubusercontent.com/u/234515?v=3","gravatar_id":"","url":"https://api.github.com/users/sebersole","html_url":"https://github.com/sebersole","followers_url":"https://api.github.com/users/sebersole/followers","following_url":"https://api.github.com/users/sebersole/following{/other_user}","gists_url":"https://api.github.com/users/sebersole/gists{/gist_id}","starred_url":"https://api.github.com/users/sebersole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebersole/subscriptions","organizations_url":"https://api.github.com/users/sebersole/orgs","repos_url":"https://api.github.com/users/sebersole/repos","events_url":"https://api.github.com/users/sebersole/events{/privacy}","received_events_url":"https://api.github.com/users/sebersole/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-17T14:06:30Z","updated_at":"2015-12-17T15:41:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hibernate/hibernate-orm/pulls/1193","html_url":"https://github.com/hibernate/hibernate-orm/pull/1193","diff_url":"https://github.com/hibernate/hibernate-orm/pull/1193.diff","patch_url":"https://github.com/hibernate/hibernate-orm/pull/1193.patch"},"body":"The current implementation is not thread safe for multi tenant situations, and assigns the same object to the thread local, which results in a racy assignment.\r\n\r\nI have changed this to be based on my original working implementation."},"comment":{"url":"https://api.github.com/repos/hibernate/hibernate-orm/issues/comments/165487211","html_url":"https://github.com/hibernate/hibernate-orm/pull/1193#issuecomment-165487211","issue_url":"https://api.github.com/repos/hibernate/hibernate-orm/issues/1193","id":165487211,"user":{"login":"sebersole","id":234515,"avatar_url":"https://avatars.githubusercontent.com/u/234515?v=3","gravatar_id":"","url":"https://api.github.com/users/sebersole","html_url":"https://github.com/sebersole","followers_url":"https://api.github.com/users/sebersole/followers","following_url":"https://api.github.com/users/sebersole/following{/other_user}","gists_url":"https://api.github.com/users/sebersole/gists{/gist_id}","starred_url":"https://api.github.com/users/sebersole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebersole/subscriptions","organizations_url":"https://api.github.com/users/sebersole/orgs","repos_url":"https://api.github.com/users/sebersole/repos","events_url":"https://api.github.com/users/sebersole/events{/privacy}","received_events_url":"https://api.github.com/users/sebersole/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T15:41:36Z","updated_at":"2015-12-17T15:41:36Z","body":"Ok, I'll rollback my local work until these details get worked out between y'all.  Any input you need from me?"}}