{"action":"opened","number":47,"pull_request":{"url":"https://api.github.com/repos/OpenInfRA/core/pulls/47","id":43969401,"html_url":"https://github.com/OpenInfRA/core/pull/47","diff_url":"https://github.com/OpenInfRA/core/pull/47.diff","patch_url":"https://github.com/OpenInfRA/core/pull/47.patch","issue_url":"https://api.github.com/repos/OpenInfRA/core/issues/47","number":47,"state":"open","locked":false,"title":"added entity synchronization for new created objects","user":{"login":"xa2kx","id":2346824,"avatar_url":"https://avatars.githubusercontent.com/u/2346824?v=3","gravatar_id":"","url":"https://api.github.com/users/xa2kx","html_url":"https://github.com/xa2kx","followers_url":"https://api.github.com/users/xa2kx/followers","following_url":"https://api.github.com/users/xa2kx/following{/other_user}","gists_url":"https://api.github.com/users/xa2kx/gists{/gist_id}","starred_url":"https://api.github.com/users/xa2kx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xa2kx/subscriptions","organizations_url":"https://api.github.com/users/xa2kx/orgs","repos_url":"https://api.github.com/users/xa2kx/repos","events_url":"https://api.github.com/users/xa2kx/events{/privacy}","received_events_url":"https://api.github.com/users/xa2kx/received_events","type":"User","site_admin":false},"body":"Adding the system column xmin to our POJOs created a problem when\r\ncreating a new object. If we create a new object the entity in the JPA\r\ncache will not include the xmin value because this will be created by\r\nPostgreSQL on the database. So if we created a new object and tried to\r\nread this newly created object we received a NullPointerException while\r\nreading xmin. This problem was solved by adding a em.refresh() on the\r\ncurrently created object. Additionally the cascade type of several model\r\nclasses was updated to do a cascading refresh.","created_at":"2015-09-02T09:13:28Z","updated_at":"2015-09-02T09:13:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenInfRA/core/pulls/47/commits","review_comments_url":"https://api.github.com/repos/OpenInfRA/core/pulls/47/comments","review_comment_url":"https://api.github.com/repos/OpenInfRA/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenInfRA/core/issues/47/comments","statuses_url":"https://api.github.com/repos/OpenInfRA/core/statuses/588de0cdb4fa6a4427215fa7832a555246b55a12","head":{"label":"xa2kx:syncFix","ref":"syncFix","sha":"588de0cdb4fa6a4427215fa7832a555246b55a12","user":{"login":"xa2kx","id":2346824,"avatar_url":"https://avatars.githubusercontent.com/u/2346824?v=3","gravatar_id":"","url":"https://api.github.com/users/xa2kx","html_url":"https://github.com/xa2kx","followers_url":"https://api.github.com/users/xa2kx/followers","following_url":"https://api.github.com/users/xa2kx/following{/other_user}","gists_url":"https://api.github.com/users/xa2kx/gists{/gist_id}","starred_url":"https://api.github.com/users/xa2kx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xa2kx/subscriptions","organizations_url":"https://api.github.com/users/xa2kx/orgs","repos_url":"https://api.github.com/users/xa2kx/repos","events_url":"https://api.github.com/users/xa2kx/events{/privacy}","received_events_url":"https://api.github.com/users/xa2kx/received_events","type":"User","site_admin":false},"repo":{"id":38473843,"name":"core","full_name":"xa2kx/core","owner":{"login":"xa2kx","id":2346824,"avatar_url":"https://avatars.githubusercontent.com/u/2346824?v=3","gravatar_id":"","url":"https://api.github.com/users/xa2kx","html_url":"https://github.com/xa2kx","followers_url":"https://api.github.com/users/xa2kx/followers","following_url":"https://api.github.com/users/xa2kx/following{/other_user}","gists_url":"https://api.github.com/users/xa2kx/gists{/gist_id}","starred_url":"https://api.github.com/users/xa2kx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xa2kx/subscriptions","organizations_url":"https://api.github.com/users/xa2kx/orgs","repos_url":"https://api.github.com/users/xa2kx/repos","events_url":"https://api.github.com/users/xa2kx/events{/privacy}","received_events_url":"https://api.github.com/users/xa2kx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xa2kx/core","description":"This folder contains the core Java and Maven based implementation of OpenInfRA.","fork":true,"url":"https://api.github.com/repos/xa2kx/core","forks_url":"https://api.github.com/repos/xa2kx/core/forks","keys_url":"https://api.github.com/repos/xa2kx/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xa2kx/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xa2kx/core/teams","hooks_url":"https://api.github.com/repos/xa2kx/core/hooks","issue_events_url":"https://api.github.com/repos/xa2kx/core/issues/events{/number}","events_url":"https://api.github.com/repos/xa2kx/core/events","assignees_url":"https://api.github.com/repos/xa2kx/core/assignees{/user}","branches_url":"https://api.github.com/repos/xa2kx/core/branches{/branch}","tags_url":"https://api.github.com/repos/xa2kx/core/tags","blobs_url":"https://api.github.com/repos/xa2kx/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xa2kx/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xa2kx/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/xa2kx/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xa2kx/core/statuses/{sha}","languages_url":"https://api.github.com/repos/xa2kx/core/languages","stargazers_url":"https://api.github.com/repos/xa2kx/core/stargazers","contributors_url":"https://api.github.com/repos/xa2kx/core/contributors","subscribers_url":"https://api.github.com/repos/xa2kx/core/subscribers","subscription_url":"https://api.github.com/repos/xa2kx/core/subscription","commits_url":"https://api.github.com/repos/xa2kx/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/xa2kx/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/xa2kx/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/xa2kx/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/xa2kx/core/contents/{+path}","compare_url":"https://api.github.com/repos/xa2kx/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xa2kx/core/merges","archive_url":"https://api.github.com/repos/xa2kx/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xa2kx/core/downloads","issues_url":"https://api.github.com/repos/xa2kx/core/issues{/number}","pulls_url":"https://api.github.com/repos/xa2kx/core/pulls{/number}","milestones_url":"https://api.github.com/repos/xa2kx/core/milestones{/number}","notifications_url":"https://api.github.com/repos/xa2kx/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xa2kx/core/labels{/name}","releases_url":"https://api.github.com/repos/xa2kx/core/releases{/id}","created_at":"2015-07-03T05:29:39Z","updated_at":"2015-07-03T05:29:42Z","pushed_at":"2015-09-02T09:13:06Z","git_url":"git://github.com/xa2kx/core.git","ssh_url":"git@github.com:xa2kx/core.git","clone_url":"https://github.com/xa2kx/core.git","svn_url":"https://github.com/xa2kx/core","homepage":"http://www.tu-cottbus.de/projekte/de/openinfra/","size":3461,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OpenInfRA:master","ref":"master","sha":"73ea2a35d3a7edcb359a15e74860ac5b3575a358","user":{"login":"OpenInfRA","id":13030392,"avatar_url":"https://avatars.githubusercontent.com/u/13030392?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenInfRA","html_url":"https://github.com/OpenInfRA","followers_url":"https://api.github.com/users/OpenInfRA/followers","following_url":"https://api.github.com/users/OpenInfRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenInfRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenInfRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenInfRA/subscriptions","organizations_url":"https://api.github.com/users/OpenInfRA/orgs","repos_url":"https://api.github.com/users/OpenInfRA/repos","events_url":"https://api.github.com/users/OpenInfRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenInfRA/received_events","type":"Organization","site_admin":false},"repo":{"id":38040917,"name":"core","full_name":"OpenInfRA/core","owner":{"login":"OpenInfRA","id":13030392,"avatar_url":"https://avatars.githubusercontent.com/u/13030392?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenInfRA","html_url":"https://github.com/OpenInfRA","followers_url":"https://api.github.com/users/OpenInfRA/followers","following_url":"https://api.github.com/users/OpenInfRA/following{/other_user}","gists_url":"https://api.github.com/users/OpenInfRA/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenInfRA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenInfRA/subscriptions","organizations_url":"https://api.github.com/users/OpenInfRA/orgs","repos_url":"https://api.github.com/users/OpenInfRA/repos","events_url":"https://api.github.com/users/OpenInfRA/events{/privacy}","received_events_url":"https://api.github.com/users/OpenInfRA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenInfRA/core","description":"This folder contains the core Java and Maven based implementation of OpenInfRA.","fork":false,"url":"https://api.github.com/repos/OpenInfRA/core","forks_url":"https://api.github.com/repos/OpenInfRA/core/forks","keys_url":"https://api.github.com/repos/OpenInfRA/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenInfRA/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenInfRA/core/teams","hooks_url":"https://api.github.com/repos/OpenInfRA/core/hooks","issue_events_url":"https://api.github.com/repos/OpenInfRA/core/issues/events{/number}","events_url":"https://api.github.com/repos/OpenInfRA/core/events","assignees_url":"https://api.github.com/repos/OpenInfRA/core/assignees{/user}","branches_url":"https://api.github.com/repos/OpenInfRA/core/branches{/branch}","tags_url":"https://api.github.com/repos/OpenInfRA/core/tags","blobs_url":"https://api.github.com/repos/OpenInfRA/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenInfRA/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenInfRA/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenInfRA/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenInfRA/core/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenInfRA/core/languages","stargazers_url":"https://api.github.com/repos/OpenInfRA/core/stargazers","contributors_url":"https://api.github.com/repos/OpenInfRA/core/contributors","subscribers_url":"https://api.github.com/repos/OpenInfRA/core/subscribers","subscription_url":"https://api.github.com/repos/OpenInfRA/core/subscription","commits_url":"https://api.github.com/repos/OpenInfRA/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenInfRA/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenInfRA/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenInfRA/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenInfRA/core/contents/{+path}","compare_url":"https://api.github.com/repos/OpenInfRA/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenInfRA/core/merges","archive_url":"https://api.github.com/repos/OpenInfRA/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenInfRA/core/downloads","issues_url":"https://api.github.com/repos/OpenInfRA/core/issues{/number}","pulls_url":"https://api.github.com/repos/OpenInfRA/core/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenInfRA/core/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenInfRA/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenInfRA/core/labels{/name}","releases_url":"https://api.github.com/repos/OpenInfRA/core/releases{/id}","created_at":"2015-06-25T09:39:01Z","updated_at":"2015-06-25T10:18:06Z","pushed_at":"2015-09-02T07:28:08Z","git_url":"git://github.com/OpenInfRA/core.git","ssh_url":"git@github.com:OpenInfRA/core.git","clone_url":"https://github.com/OpenInfRA/core.git","svn_url":"https://github.com/OpenInfRA/core","homepage":"http://www.tu-cottbus.de/projekte/de/openinfra/","size":3657,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenInfRA/core/pulls/47"},"html":{"href":"https://github.com/OpenInfRA/core/pull/47"},"issue":{"href":"https://api.github.com/repos/OpenInfRA/core/issues/47"},"comments":{"href":"https://api.github.com/repos/OpenInfRA/core/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenInfRA/core/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenInfRA/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenInfRA/core/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/OpenInfRA/core/statuses/588de0cdb4fa6a4427215fa7832a555246b55a12"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":16,"changed_files":8}}