{"action":"created","comment":{"url":"https://api.github.com/repos/molgenis/molgenis/pulls/comments/60076237","id":60076237,"diff_hunk":"@@ -209,17 +273,27 @@ public void testFindQuery()\n \t\tList<Entity> entities = create(5);\n \t\tdataService.add(ENTITY_NAME, entities.stream());\n \t\tSupplier<Stream<Entity>> found = () -> dataService.findAll(ENTITY_NAME,\n-\t\t\t\tnew QueryImpl().eq(ID, entities.get(0).getIdValue()));\n+\t\t\t\tnew QueryImpl().eq(ATTR_ID, entities.get(0).getIdValue()));\n \t\tassertEquals(found.get().count(), 1);\n \t\tassertEquals(found.get().findFirst().get().getIdValue(), entities.get(0).getIdValue());\n \t}\n \n+\tpublic void testFindQueryLimit2_Offset2_sortOnInt()\n+\t{\n+\t\tdataService.add(REF_ENTITY_NAME, createTestRefEntities().stream());\n+\t\tdataService.add(ENTITY_NAME, createTestEntities().stream());\n+\t\tSupplier<Stream<Entity>> found = () -> dataService.findAll(ENTITY_NAME,\n+\t\t\t\tnew QueryImpl().pageSize(2).offset(2).sort(new Sort(ATTR_INT)));\n+\t\tassertEquals(found.get().count(), 1);\n+\t\tassertTrue(found.get().collect(Collectors.toList()).containsAll(null));","path":"molgenis-integration-tests/src/test/java/org/molgenis/integrationtest/data/AbstractDataServiceIT.java","position":189,"original_position":189,"commit_id":"b83e7dbf87ef646971f85ede1d3eb2c3ec86cee0","original_commit_id":"b83e7dbf87ef646971f85ede1d3eb2c3ec86cee0","user":{"login":"jjettenn","id":5586255,"avatar_url":"https://avatars.githubusercontent.com/u/5586255?v=3","gravatar_id":"","url":"https://api.github.com/users/jjettenn","html_url":"https://github.com/jjettenn","followers_url":"https://api.github.com/users/jjettenn/followers","following_url":"https://api.github.com/users/jjettenn/following{/other_user}","gists_url":"https://api.github.com/users/jjettenn/gists{/gist_id}","starred_url":"https://api.github.com/users/jjettenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjettenn/subscriptions","organizations_url":"https://api.github.com/users/jjettenn/orgs","repos_url":"https://api.github.com/users/jjettenn/repos","events_url":"https://api.github.com/users/jjettenn/events{/privacy}","received_events_url":"https://api.github.com/users/jjettenn/received_events","type":"User","site_admin":false},"body":"NullPointerException","created_at":"2016-04-18T15:12:28Z","updated_at":"2016-04-18T15:12:28Z","html_url":"https://github.com/molgenis/molgenis/pull/4773#discussion_r60076237","pull_request_url":"https://api.github.com/repos/molgenis/molgenis/pulls/4773","_links":{"self":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/comments/60076237"},"html":{"href":"https://github.com/molgenis/molgenis/pull/4773#discussion_r60076237"},"pull_request":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/4773"}}},"pull_request":{"url":"https://api.github.com/repos/molgenis/molgenis/pulls/4773","id":66807037,"html_url":"https://github.com/molgenis/molgenis/pull/4773","diff_url":"https://github.com/molgenis/molgenis/pull/4773.diff","patch_url":"https://github.com/molgenis/molgenis/pull/4773.patch","issue_url":"https://api.github.com/repos/molgenis/molgenis/issues/4773","number":4773,"state":"open","locked":false,"title":"PostgreSQL integration tests","user":{"login":"bartcharbon","id":3714029,"avatar_url":"https://avatars.githubusercontent.com/u/3714029?v=3","gravatar_id":"","url":"https://api.github.com/users/bartcharbon","html_url":"https://github.com/bartcharbon","followers_url":"https://api.github.com/users/bartcharbon/followers","following_url":"https://api.github.com/users/bartcharbon/following{/other_user}","gists_url":"https://api.github.com/users/bartcharbon/gists{/gist_id}","starred_url":"https://api.github.com/users/bartcharbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartcharbon/subscriptions","organizations_url":"https://api.github.com/users/bartcharbon/orgs","repos_url":"https://api.github.com/users/bartcharbon/repos","events_url":"https://api.github.com/users/bartcharbon/events{/privacy}","received_events_url":"https://api.github.com/users/bartcharbon/received_events","type":"User","site_admin":false},"body":"the newly added test fails on duplicate autoID\r\n\r\nPR is mainly intended for someone to review the solution.","created_at":"2016-04-18T07:04:44Z","updated_at":"2016-04-18T15:12:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48c67911cc147e02174d1df965ca20f162055e9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/molgenis/molgenis/pulls/4773/commits","review_comments_url":"https://api.github.com/repos/molgenis/molgenis/pulls/4773/comments","review_comment_url":"https://api.github.com/repos/molgenis/molgenis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/molgenis/molgenis/issues/4773/comments","statuses_url":"https://api.github.com/repos/molgenis/molgenis/statuses/b83e7dbf87ef646971f85ede1d3eb2c3ec86cee0","head":{"label":"bartcharbon:feature/postgresql","ref":"feature/postgresql","sha":"b83e7dbf87ef646971f85ede1d3eb2c3ec86cee0","user":{"login":"bartcharbon","id":3714029,"avatar_url":"https://avatars.githubusercontent.com/u/3714029?v=3","gravatar_id":"","url":"https://api.github.com/users/bartcharbon","html_url":"https://github.com/bartcharbon","followers_url":"https://api.github.com/users/bartcharbon/followers","following_url":"https://api.github.com/users/bartcharbon/following{/other_user}","gists_url":"https://api.github.com/users/bartcharbon/gists{/gist_id}","starred_url":"https://api.github.com/users/bartcharbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartcharbon/subscriptions","organizations_url":"https://api.github.com/users/bartcharbon/orgs","repos_url":"https://api.github.com/users/bartcharbon/repos","events_url":"https://api.github.com/users/bartcharbon/events{/privacy}","received_events_url":"https://api.github.com/users/bartcharbon/received_events","type":"User","site_admin":false},"repo":{"id":8499837,"name":"molgenis","full_name":"bartcharbon/molgenis","owner":{"login":"bartcharbon","id":3714029,"avatar_url":"https://avatars.githubusercontent.com/u/3714029?v=3","gravatar_id":"","url":"https://api.github.com/users/bartcharbon","html_url":"https://github.com/bartcharbon","followers_url":"https://api.github.com/users/bartcharbon/followers","following_url":"https://api.github.com/users/bartcharbon/following{/other_user}","gists_url":"https://api.github.com/users/bartcharbon/gists{/gist_id}","starred_url":"https://api.github.com/users/bartcharbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartcharbon/subscriptions","organizations_url":"https://api.github.com/users/bartcharbon/orgs","repos_url":"https://api.github.com/users/bartcharbon/repos","events_url":"https://api.github.com/users/bartcharbon/events{/privacy}","received_events_url":"https://api.github.com/users/bartcharbon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bartcharbon/molgenis","description":"MOLGENIS is an collaborative open source project on a mission to generate great software infrastructure for life science research.","fork":true,"url":"https://api.github.com/repos/bartcharbon/molgenis","forks_url":"https://api.github.com/repos/bartcharbon/molgenis/forks","keys_url":"https://api.github.com/repos/bartcharbon/molgenis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bartcharbon/molgenis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bartcharbon/molgenis/teams","hooks_url":"https://api.github.com/repos/bartcharbon/molgenis/hooks","issue_events_url":"https://api.github.com/repos/bartcharbon/molgenis/issues/events{/number}","events_url":"https://api.github.com/repos/bartcharbon/molgenis/events","assignees_url":"https://api.github.com/repos/bartcharbon/molgenis/assignees{/user}","branches_url":"https://api.github.com/repos/bartcharbon/molgenis/branches{/branch}","tags_url":"https://api.github.com/repos/bartcharbon/molgenis/tags","blobs_url":"https://api.github.com/repos/bartcharbon/molgenis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bartcharbon/molgenis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bartcharbon/molgenis/git/refs{/sha}","trees_url":"https://api.github.com/repos/bartcharbon/molgenis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bartcharbon/molgenis/statuses/{sha}","languages_url":"https://api.github.com/repos/bartcharbon/molgenis/languages","stargazers_url":"https://api.github.com/repos/bartcharbon/molgenis/stargazers","contributors_url":"https://api.github.com/repos/bartcharbon/molgenis/contributors","subscribers_url":"https://api.github.com/repos/bartcharbon/molgenis/subscribers","subscription_url":"https://api.github.com/repos/bartcharbon/molgenis/subscription","commits_url":"https://api.github.com/repos/bartcharbon/molgenis/commits{/sha}","git_commits_url":"https://api.github.com/repos/bartcharbon/molgenis/git/commits{/sha}","comments_url":"https://api.github.com/repos/bartcharbon/molgenis/comments{/number}","issue_comment_url":"https://api.github.com/repos/bartcharbon/molgenis/issues/comments{/number}","contents_url":"https://api.github.com/repos/bartcharbon/molgenis/contents/{+path}","compare_url":"https://api.github.com/repos/bartcharbon/molgenis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bartcharbon/molgenis/merges","archive_url":"https://api.github.com/repos/bartcharbon/molgenis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bartcharbon/molgenis/downloads","issues_url":"https://api.github.com/repos/bartcharbon/molgenis/issues{/number}","pulls_url":"https://api.github.com/repos/bartcharbon/molgenis/pulls{/number}","milestones_url":"https://api.github.com/repos/bartcharbon/molgenis/milestones{/number}","notifications_url":"https://api.github.com/repos/bartcharbon/molgenis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bartcharbon/molgenis/labels{/name}","releases_url":"https://api.github.com/repos/bartcharbon/molgenis/releases{/id}","deployments_url":"https://api.github.com/repos/bartcharbon/molgenis/deployments","created_at":"2013-03-01T11:16:32Z","updated_at":"2015-04-28T13:38:06Z","pushed_at":"2016-04-18T13:58:55Z","git_url":"git://github.com/bartcharbon/molgenis.git","ssh_url":"git@github.com:bartcharbon/molgenis.git","clone_url":"https://github.com/bartcharbon/molgenis.git","svn_url":"https://github.com/bartcharbon/molgenis","homepage":null,"size":96985,"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":"molgenis:2.0","ref":"2.0","sha":"ddc86f3d2dad0a957d7dee86a1cbf62dde3baea7","user":{"login":"molgenis","id":1688158,"avatar_url":"https://avatars.githubusercontent.com/u/1688158?v=3","gravatar_id":"","url":"https://api.github.com/users/molgenis","html_url":"https://github.com/molgenis","followers_url":"https://api.github.com/users/molgenis/followers","following_url":"https://api.github.com/users/molgenis/following{/other_user}","gists_url":"https://api.github.com/users/molgenis/gists{/gist_id}","starred_url":"https://api.github.com/users/molgenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molgenis/subscriptions","organizations_url":"https://api.github.com/users/molgenis/orgs","repos_url":"https://api.github.com/users/molgenis/repos","events_url":"https://api.github.com/users/molgenis/events{/privacy}","received_events_url":"https://api.github.com/users/molgenis/received_events","type":"Organization","site_admin":false},"repo":{"id":8010626,"name":"molgenis","full_name":"molgenis/molgenis","owner":{"login":"molgenis","id":1688158,"avatar_url":"https://avatars.githubusercontent.com/u/1688158?v=3","gravatar_id":"","url":"https://api.github.com/users/molgenis","html_url":"https://github.com/molgenis","followers_url":"https://api.github.com/users/molgenis/followers","following_url":"https://api.github.com/users/molgenis/following{/other_user}","gists_url":"https://api.github.com/users/molgenis/gists{/gist_id}","starred_url":"https://api.github.com/users/molgenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molgenis/subscriptions","organizations_url":"https://api.github.com/users/molgenis/orgs","repos_url":"https://api.github.com/users/molgenis/repos","events_url":"https://api.github.com/users/molgenis/events{/privacy}","received_events_url":"https://api.github.com/users/molgenis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/molgenis/molgenis","description":"MOLGENIS - for scientific data: management, exploration, integration and analysis. ","fork":false,"url":"https://api.github.com/repos/molgenis/molgenis","forks_url":"https://api.github.com/repos/molgenis/molgenis/forks","keys_url":"https://api.github.com/repos/molgenis/molgenis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/molgenis/molgenis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/molgenis/molgenis/teams","hooks_url":"https://api.github.com/repos/molgenis/molgenis/hooks","issue_events_url":"https://api.github.com/repos/molgenis/molgenis/issues/events{/number}","events_url":"https://api.github.com/repos/molgenis/molgenis/events","assignees_url":"https://api.github.com/repos/molgenis/molgenis/assignees{/user}","branches_url":"https://api.github.com/repos/molgenis/molgenis/branches{/branch}","tags_url":"https://api.github.com/repos/molgenis/molgenis/tags","blobs_url":"https://api.github.com/repos/molgenis/molgenis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/molgenis/molgenis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/molgenis/molgenis/git/refs{/sha}","trees_url":"https://api.github.com/repos/molgenis/molgenis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/molgenis/molgenis/statuses/{sha}","languages_url":"https://api.github.com/repos/molgenis/molgenis/languages","stargazers_url":"https://api.github.com/repos/molgenis/molgenis/stargazers","contributors_url":"https://api.github.com/repos/molgenis/molgenis/contributors","subscribers_url":"https://api.github.com/repos/molgenis/molgenis/subscribers","subscription_url":"https://api.github.com/repos/molgenis/molgenis/subscription","commits_url":"https://api.github.com/repos/molgenis/molgenis/commits{/sha}","git_commits_url":"https://api.github.com/repos/molgenis/molgenis/git/commits{/sha}","comments_url":"https://api.github.com/repos/molgenis/molgenis/comments{/number}","issue_comment_url":"https://api.github.com/repos/molgenis/molgenis/issues/comments{/number}","contents_url":"https://api.github.com/repos/molgenis/molgenis/contents/{+path}","compare_url":"https://api.github.com/repos/molgenis/molgenis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/molgenis/molgenis/merges","archive_url":"https://api.github.com/repos/molgenis/molgenis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/molgenis/molgenis/downloads","issues_url":"https://api.github.com/repos/molgenis/molgenis/issues{/number}","pulls_url":"https://api.github.com/repos/molgenis/molgenis/pulls{/number}","milestones_url":"https://api.github.com/repos/molgenis/molgenis/milestones{/number}","notifications_url":"https://api.github.com/repos/molgenis/molgenis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/molgenis/molgenis/labels{/name}","releases_url":"https://api.github.com/repos/molgenis/molgenis/releases{/id}","deployments_url":"https://api.github.com/repos/molgenis/molgenis/deployments","created_at":"2013-02-04T16:02:36Z","updated_at":"2016-04-05T07:09:52Z","pushed_at":"2016-04-18T15:02:32Z","git_url":"git://github.com/molgenis/molgenis.git","ssh_url":"git@github.com:molgenis/molgenis.git","clone_url":"https://github.com/molgenis/molgenis.git","svn_url":"https://github.com/molgenis/molgenis","homepage":" https://molgenis.github.io","size":105439,"stargazers_count":24,"watchers_count":24,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":261,"forks":61,"open_issues":261,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/4773"},"html":{"href":"https://github.com/molgenis/molgenis/pull/4773"},"issue":{"href":"https://api.github.com/repos/molgenis/molgenis/issues/4773"},"comments":{"href":"https://api.github.com/repos/molgenis/molgenis/issues/4773/comments"},"review_comments":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/4773/comments"},"review_comment":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/molgenis/molgenis/pulls/4773/commits"},"statuses":{"href":"https://api.github.com/repos/molgenis/molgenis/statuses/b83e7dbf87ef646971f85ede1d3eb2c3ec86cee0"}}}}