{"action":"created","comment":{"url":"https://api.github.com/repos/jdbi/jdbi/pulls/comments/77896694","id":77896694,"diff_hunk":"@@ -90,21 +100,98 @@ public void apply(SQLStatement q) throws SQLException\n     class BindingFactory implements BinderFactory<BindIn>\n     {\n         @Override\n-        public Binder build(BindIn in)\n+        public Binder build(final BindIn in)\n         {\n             final String key = in.value();\n \n-            return new Binder<Annotation, Iterable>()\n+            return new Binder<Annotation, Object>()\n             {\n                 @Override\n-                public void bind(SQLStatement q, Annotation bind, Iterable coll)\n+                public void bind(final SQLStatement q, final Annotation bind, final Object arg)\n                 {\n+                    final Object[] arr = Util.toArray(arg);\n+\n                     int idx = 0;\n-                    for (Object s : coll) {\n+                    for (final Object s : arr)\n+                    {\n                         q.bind(\"__\" + key + \"_\" + idx++, s);\n                     }\n                 }\n             };\n         }\n     }\n+\n+    final class Util","path":"src/main/java/org/skife/jdbi/v2/unstable/BindIn.java","position":120,"original_position":120,"commit_id":"bf2bab66e57fb71d0aa5d271260865f7c69f377a","original_commit_id":"bf2bab66e57fb71d0aa5d271260865f7c69f377a","user":{"login":"stevenschlansker","id":129097,"avatar_url":"https://avatars.githubusercontent.com/u/129097?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenschlansker","html_url":"https://github.com/stevenschlansker","followers_url":"https://api.github.com/users/stevenschlansker/followers","following_url":"https://api.github.com/users/stevenschlansker/following{/other_user}","gists_url":"https://api.github.com/users/stevenschlansker/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenschlansker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenschlansker/subscriptions","organizations_url":"https://api.github.com/users/stevenschlansker/orgs","repos_url":"https://api.github.com/users/stevenschlansker/repos","events_url":"https://api.github.com/users/stevenschlansker/events{/privacy}","received_events_url":"https://api.github.com/users/stevenschlansker/received_events","type":"User","site_admin":false},"body":"Oops, missed that it was on an annotation.  My bad.","created_at":"2016-09-07T20:25:14Z","updated_at":"2016-09-07T20:25:14Z","html_url":"https://github.com/jdbi/jdbi/pull/474#discussion_r77896694","pull_request_url":"https://api.github.com/repos/jdbi/jdbi/pulls/474","_links":{"self":{"href":"https://api.github.com/repos/jdbi/jdbi/pulls/comments/77896694"},"html":{"href":"https://github.com/jdbi/jdbi/pull/474#discussion_r77896694"},"pull_request":{"href":"https://api.github.com/repos/jdbi/jdbi/pulls/474"}}},"pull_request":{"url":"https://api.github.com/repos/jdbi/jdbi/pulls/474","id":83937781,"html_url":"https://github.com/jdbi/jdbi/pull/474","diff_url":"https://github.com/jdbi/jdbi/pull/474.diff","patch_url":"https://github.com/jdbi/jdbi/pull/474.patch","issue_url":"https://api.github.com/repos/jdbi/jdbi/issues/474","number":474,"state":"open","locked":false,"title":"Support arrays in BindIn, besides Collection #473","user":{"login":"TheRealMarnes","id":3950300,"avatar_url":"https://avatars.githubusercontent.com/u/3950300?v=3","gravatar_id":"","url":"https://api.github.com/users/TheRealMarnes","html_url":"https://github.com/TheRealMarnes","followers_url":"https://api.github.com/users/TheRealMarnes/followers","following_url":"https://api.github.com/users/TheRealMarnes/following{/other_user}","gists_url":"https://api.github.com/users/TheRealMarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRealMarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRealMarnes/subscriptions","organizations_url":"https://api.github.com/users/TheRealMarnes/orgs","repos_url":"https://api.github.com/users/TheRealMarnes/repos","events_url":"https://api.github.com/users/TheRealMarnes/events{/privacy}","received_events_url":"https://api.github.com/users/TheRealMarnes/received_events","type":"User","site_admin":false},"body":"https://github.com/jdbi/jdbi/issues/473","created_at":"2016-09-04T23:44:00Z","updated_at":"2016-09-07T20:25:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3536621cf49641a0e82f1181d46601aa76b772d5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jdbi/jdbi/pulls/474/commits","review_comments_url":"https://api.github.com/repos/jdbi/jdbi/pulls/474/comments","review_comment_url":"https://api.github.com/repos/jdbi/jdbi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jdbi/jdbi/issues/474/comments","statuses_url":"https://api.github.com/repos/jdbi/jdbi/statuses/bf2bab66e57fb71d0aa5d271260865f7c69f377a","head":{"label":"TheRealMarnes:bindin-arrays-473","ref":"bindin-arrays-473","sha":"bf2bab66e57fb71d0aa5d271260865f7c69f377a","user":{"login":"TheRealMarnes","id":3950300,"avatar_url":"https://avatars.githubusercontent.com/u/3950300?v=3","gravatar_id":"","url":"https://api.github.com/users/TheRealMarnes","html_url":"https://github.com/TheRealMarnes","followers_url":"https://api.github.com/users/TheRealMarnes/followers","following_url":"https://api.github.com/users/TheRealMarnes/following{/other_user}","gists_url":"https://api.github.com/users/TheRealMarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRealMarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRealMarnes/subscriptions","organizations_url":"https://api.github.com/users/TheRealMarnes/orgs","repos_url":"https://api.github.com/users/TheRealMarnes/repos","events_url":"https://api.github.com/users/TheRealMarnes/events{/privacy}","received_events_url":"https://api.github.com/users/TheRealMarnes/received_events","type":"User","site_admin":false},"repo":{"id":67373905,"name":"jdbi","full_name":"TheRealMarnes/jdbi","owner":{"login":"TheRealMarnes","id":3950300,"avatar_url":"https://avatars.githubusercontent.com/u/3950300?v=3","gravatar_id":"","url":"https://api.github.com/users/TheRealMarnes","html_url":"https://github.com/TheRealMarnes","followers_url":"https://api.github.com/users/TheRealMarnes/followers","following_url":"https://api.github.com/users/TheRealMarnes/following{/other_user}","gists_url":"https://api.github.com/users/TheRealMarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/TheRealMarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheRealMarnes/subscriptions","organizations_url":"https://api.github.com/users/TheRealMarnes/orgs","repos_url":"https://api.github.com/users/TheRealMarnes/repos","events_url":"https://api.github.com/users/TheRealMarnes/events{/privacy}","received_events_url":"https://api.github.com/users/TheRealMarnes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheRealMarnes/jdbi","description":"jDBI is designed to provide convenient tabular data access in Java(tm). It uses the Java collections framework for query results, provides a convenient means of externalizing sql statements, and provides named parameter support for any database being used.","fork":true,"url":"https://api.github.com/repos/TheRealMarnes/jdbi","forks_url":"https://api.github.com/repos/TheRealMarnes/jdbi/forks","keys_url":"https://api.github.com/repos/TheRealMarnes/jdbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheRealMarnes/jdbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheRealMarnes/jdbi/teams","hooks_url":"https://api.github.com/repos/TheRealMarnes/jdbi/hooks","issue_events_url":"https://api.github.com/repos/TheRealMarnes/jdbi/issues/events{/number}","events_url":"https://api.github.com/repos/TheRealMarnes/jdbi/events","assignees_url":"https://api.github.com/repos/TheRealMarnes/jdbi/assignees{/user}","branches_url":"https://api.github.com/repos/TheRealMarnes/jdbi/branches{/branch}","tags_url":"https://api.github.com/repos/TheRealMarnes/jdbi/tags","blobs_url":"https://api.github.com/repos/TheRealMarnes/jdbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheRealMarnes/jdbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheRealMarnes/jdbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheRealMarnes/jdbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheRealMarnes/jdbi/statuses/{sha}","languages_url":"https://api.github.com/repos/TheRealMarnes/jdbi/languages","stargazers_url":"https://api.github.com/repos/TheRealMarnes/jdbi/stargazers","contributors_url":"https://api.github.com/repos/TheRealMarnes/jdbi/contributors","subscribers_url":"https://api.github.com/repos/TheRealMarnes/jdbi/subscribers","subscription_url":"https://api.github.com/repos/TheRealMarnes/jdbi/subscription","commits_url":"https://api.github.com/repos/TheRealMarnes/jdbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheRealMarnes/jdbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheRealMarnes/jdbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheRealMarnes/jdbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheRealMarnes/jdbi/contents/{+path}","compare_url":"https://api.github.com/repos/TheRealMarnes/jdbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheRealMarnes/jdbi/merges","archive_url":"https://api.github.com/repos/TheRealMarnes/jdbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheRealMarnes/jdbi/downloads","issues_url":"https://api.github.com/repos/TheRealMarnes/jdbi/issues{/number}","pulls_url":"https://api.github.com/repos/TheRealMarnes/jdbi/pulls{/number}","milestones_url":"https://api.github.com/repos/TheRealMarnes/jdbi/milestones{/number}","notifications_url":"https://api.github.com/repos/TheRealMarnes/jdbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheRealMarnes/jdbi/labels{/name}","releases_url":"https://api.github.com/repos/TheRealMarnes/jdbi/releases{/id}","deployments_url":"https://api.github.com/repos/TheRealMarnes/jdbi/deployments","created_at":"2016-09-04T23:40:30Z","updated_at":"2016-09-04T23:40:33Z","pushed_at":"2016-09-07T18:20:35Z","git_url":"git://github.com/TheRealMarnes/jdbi.git","ssh_url":"git@github.com:TheRealMarnes/jdbi.git","clone_url":"https://github.com/TheRealMarnes/jdbi.git","svn_url":"https://github.com/TheRealMarnes/jdbi","homepage":"http://jdbi.org/","size":14405,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jdbi:master","ref":"master","sha":"4f45047c4185c896b969ddebe6035afc178383ea","user":{"login":"jdbi","id":9668860,"avatar_url":"https://avatars.githubusercontent.com/u/9668860?v=3","gravatar_id":"","url":"https://api.github.com/users/jdbi","html_url":"https://github.com/jdbi","followers_url":"https://api.github.com/users/jdbi/followers","following_url":"https://api.github.com/users/jdbi/following{/other_user}","gists_url":"https://api.github.com/users/jdbi/gists{/gist_id}","starred_url":"https://api.github.com/users/jdbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdbi/subscriptions","organizations_url":"https://api.github.com/users/jdbi/orgs","repos_url":"https://api.github.com/users/jdbi/repos","events_url":"https://api.github.com/users/jdbi/events{/privacy}","received_events_url":"https://api.github.com/users/jdbi/received_events","type":"Organization","site_admin":false},"repo":{"id":229738,"name":"jdbi","full_name":"jdbi/jdbi","owner":{"login":"jdbi","id":9668860,"avatar_url":"https://avatars.githubusercontent.com/u/9668860?v=3","gravatar_id":"","url":"https://api.github.com/users/jdbi","html_url":"https://github.com/jdbi","followers_url":"https://api.github.com/users/jdbi/followers","following_url":"https://api.github.com/users/jdbi/following{/other_user}","gists_url":"https://api.github.com/users/jdbi/gists{/gist_id}","starred_url":"https://api.github.com/users/jdbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdbi/subscriptions","organizations_url":"https://api.github.com/users/jdbi/orgs","repos_url":"https://api.github.com/users/jdbi/repos","events_url":"https://api.github.com/users/jdbi/events{/privacy}","received_events_url":"https://api.github.com/users/jdbi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jdbi/jdbi","description":"jDBI is designed to provide convenient tabular data access in Java(tm). It uses the Java collections framework for query results, provides a convenient means of externalizing sql statements, and provides named parameter support for any database being used.","fork":false,"url":"https://api.github.com/repos/jdbi/jdbi","forks_url":"https://api.github.com/repos/jdbi/jdbi/forks","keys_url":"https://api.github.com/repos/jdbi/jdbi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdbi/jdbi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdbi/jdbi/teams","hooks_url":"https://api.github.com/repos/jdbi/jdbi/hooks","issue_events_url":"https://api.github.com/repos/jdbi/jdbi/issues/events{/number}","events_url":"https://api.github.com/repos/jdbi/jdbi/events","assignees_url":"https://api.github.com/repos/jdbi/jdbi/assignees{/user}","branches_url":"https://api.github.com/repos/jdbi/jdbi/branches{/branch}","tags_url":"https://api.github.com/repos/jdbi/jdbi/tags","blobs_url":"https://api.github.com/repos/jdbi/jdbi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdbi/jdbi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdbi/jdbi/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdbi/jdbi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdbi/jdbi/statuses/{sha}","languages_url":"https://api.github.com/repos/jdbi/jdbi/languages","stargazers_url":"https://api.github.com/repos/jdbi/jdbi/stargazers","contributors_url":"https://api.github.com/repos/jdbi/jdbi/contributors","subscribers_url":"https://api.github.com/repos/jdbi/jdbi/subscribers","subscription_url":"https://api.github.com/repos/jdbi/jdbi/subscription","commits_url":"https://api.github.com/repos/jdbi/jdbi/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdbi/jdbi/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdbi/jdbi/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdbi/jdbi/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdbi/jdbi/contents/{+path}","compare_url":"https://api.github.com/repos/jdbi/jdbi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdbi/jdbi/merges","archive_url":"https://api.github.com/repos/jdbi/jdbi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdbi/jdbi/downloads","issues_url":"https://api.github.com/repos/jdbi/jdbi/issues{/number}","pulls_url":"https://api.github.com/repos/jdbi/jdbi/pulls{/number}","milestones_url":"https://api.github.com/repos/jdbi/jdbi/milestones{/number}","notifications_url":"https://api.github.com/repos/jdbi/jdbi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdbi/jdbi/labels{/name}","releases_url":"https://api.github.com/repos/jdbi/jdbi/releases{/id}","deployments_url":"https://api.github.com/repos/jdbi/jdbi/deployments","created_at":"2009-06-17T16:36:36Z","updated_at":"2016-09-06T15:38:43Z","pushed_at":"2016-09-07T18:20:35Z","git_url":"git://github.com/jdbi/jdbi.git","ssh_url":"git@github.com:jdbi/jdbi.git","clone_url":"https://github.com/jdbi/jdbi.git","svn_url":"https://github.com/jdbi/jdbi","homepage":"http://jdbi.org/","size":15373,"stargazers_count":692,"watchers_count":692,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":156,"mirror_url":null,"open_issues_count":58,"forks":156,"open_issues":58,"watchers":692,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jdbi/jdbi/pulls/474"},"html":{"href":"https://github.com/jdbi/jdbi/pull/474"},"issue":{"href":"https://api.github.com/repos/jdbi/jdbi/issues/474"},"comments":{"href":"https://api.github.com/repos/jdbi/jdbi/issues/474/comments"},"review_comments":{"href":"https://api.github.com/repos/jdbi/jdbi/pulls/474/comments"},"review_comment":{"href":"https://api.github.com/repos/jdbi/jdbi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jdbi/jdbi/pulls/474/commits"},"statuses":{"href":"https://api.github.com/repos/jdbi/jdbi/statuses/bf2bab66e57fb71d0aa5d271260865f7c69f377a"}}}}
{"actor":{"display_login":"stevenschlansker"}}