{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls/18","id":29144998,"html_url":"https://github.com/orientechnologies/orientdb-jdbc/pull/18","diff_url":"https://github.com/orientechnologies/orientdb-jdbc/pull/18.diff","patch_url":"https://github.com/orientechnologies/orientdb-jdbc/pull/18.patch","issue_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/issues/18","number":18,"state":"open","locked":false,"title":"Add tests for INSERT and UPDATE on PreparedStatement.executeUpdate()","user":{"login":"vertex-github","id":6462117,"avatar_url":"https://avatars.githubusercontent.com/u/6462117?v=3","gravatar_id":"","url":"https://api.github.com/users/vertex-github","html_url":"https://github.com/vertex-github","followers_url":"https://api.github.com/users/vertex-github/followers","following_url":"https://api.github.com/users/vertex-github/following{/other_user}","gists_url":"https://api.github.com/users/vertex-github/gists{/gist_id}","starred_url":"https://api.github.com/users/vertex-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertex-github/subscriptions","organizations_url":"https://api.github.com/users/vertex-github/orgs","repos_url":"https://api.github.com/users/vertex-github/repos","events_url":"https://api.github.com/users/vertex-github/events{/privacy}","received_events_url":"https://api.github.com/users/vertex-github/received_events","type":"User","site_admin":false},"body":"OrientDB is returning an ODocument for the INSERT statement, which fails with a ClassCastException when the SQL is invoked via executeUpdate (which returns an integer of the number of rows modified).  UPDATE statements work fine.  INSERT ... FROM ... could potentially INSERT multiple rows, so I think this needs to be corrected in OrientDB and not patched in the JDBC driver.","created_at":"2015-02-12T01:17:15Z","updated_at":"2015-02-12T01:17:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls/18/commits","review_comments_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls/18/comments","review_comment_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/issues/18/comments","statuses_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/statuses/03d4e9475a8d89ad7360beb80fbf4c28801a6062","head":{"label":"vertex-github:master","ref":"master","sha":"03d4e9475a8d89ad7360beb80fbf4c28801a6062","user":{"login":"vertex-github","id":6462117,"avatar_url":"https://avatars.githubusercontent.com/u/6462117?v=3","gravatar_id":"","url":"https://api.github.com/users/vertex-github","html_url":"https://github.com/vertex-github","followers_url":"https://api.github.com/users/vertex-github/followers","following_url":"https://api.github.com/users/vertex-github/following{/other_user}","gists_url":"https://api.github.com/users/vertex-github/gists{/gist_id}","starred_url":"https://api.github.com/users/vertex-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertex-github/subscriptions","organizations_url":"https://api.github.com/users/vertex-github/orgs","repos_url":"https://api.github.com/users/vertex-github/repos","events_url":"https://api.github.com/users/vertex-github/events{/privacy}","received_events_url":"https://api.github.com/users/vertex-github/received_events","type":"User","site_admin":false},"repo":{"id":30678162,"name":"orientdb-jdbc","full_name":"vertex-github/orientdb-jdbc","owner":{"login":"vertex-github","id":6462117,"avatar_url":"https://avatars.githubusercontent.com/u/6462117?v=3","gravatar_id":"","url":"https://api.github.com/users/vertex-github","html_url":"https://github.com/vertex-github","followers_url":"https://api.github.com/users/vertex-github/followers","following_url":"https://api.github.com/users/vertex-github/following{/other_user}","gists_url":"https://api.github.com/users/vertex-github/gists{/gist_id}","starred_url":"https://api.github.com/users/vertex-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertex-github/subscriptions","organizations_url":"https://api.github.com/users/vertex-github/orgs","repos_url":"https://api.github.com/users/vertex-github/repos","events_url":"https://api.github.com/users/vertex-github/events{/privacy}","received_events_url":"https://api.github.com/users/vertex-github/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vertex-github/orientdb-jdbc","description":"OrientDb JDBC Driver","fork":true,"url":"https://api.github.com/repos/vertex-github/orientdb-jdbc","forks_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/forks","keys_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/teams","hooks_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/hooks","issue_events_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/issues/events{/number}","events_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/events","assignees_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/assignees{/user}","branches_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/branches{/branch}","tags_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/tags","blobs_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/git/refs{/sha}","trees_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/statuses/{sha}","languages_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/languages","stargazers_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/stargazers","contributors_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/contributors","subscribers_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/subscribers","subscription_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/subscription","commits_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/commits{/sha}","git_commits_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/git/commits{/sha}","comments_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/comments{/number}","issue_comment_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/issues/comments/{number}","contents_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/contents/{+path}","compare_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/merges","archive_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/downloads","issues_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/issues{/number}","pulls_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/pulls{/number}","milestones_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/milestones{/number}","notifications_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/labels{/name}","releases_url":"https://api.github.com/repos/vertex-github/orientdb-jdbc/releases{/id}","created_at":"2015-02-12T00:54:06Z","updated_at":"2015-02-12T01:13:52Z","pushed_at":"2015-02-12T01:13:50Z","git_url":"git://github.com/vertex-github/orientdb-jdbc.git","ssh_url":"git@github.com:vertex-github/orientdb-jdbc.git","clone_url":"https://github.com/vertex-github/orientdb-jdbc.git","svn_url":"https://github.com/vertex-github/orientdb-jdbc","homepage":"http://code.google.com/p/orient/","size":455,"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":"orientechnologies:master","ref":"master","sha":"f652d004c9f8e5ba8353368becf838e77d62fea1","user":{"login":"orientechnologies","id":536828,"avatar_url":"https://avatars.githubusercontent.com/u/536828?v=3","gravatar_id":"","url":"https://api.github.com/users/orientechnologies","html_url":"https://github.com/orientechnologies","followers_url":"https://api.github.com/users/orientechnologies/followers","following_url":"https://api.github.com/users/orientechnologies/following{/other_user}","gists_url":"https://api.github.com/users/orientechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/orientechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orientechnologies/subscriptions","organizations_url":"https://api.github.com/users/orientechnologies/orgs","repos_url":"https://api.github.com/users/orientechnologies/repos","events_url":"https://api.github.com/users/orientechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/orientechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":4860940,"name":"orientdb-jdbc","full_name":"orientechnologies/orientdb-jdbc","owner":{"login":"orientechnologies","id":536828,"avatar_url":"https://avatars.githubusercontent.com/u/536828?v=3","gravatar_id":"","url":"https://api.github.com/users/orientechnologies","html_url":"https://github.com/orientechnologies","followers_url":"https://api.github.com/users/orientechnologies/followers","following_url":"https://api.github.com/users/orientechnologies/following{/other_user}","gists_url":"https://api.github.com/users/orientechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/orientechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orientechnologies/subscriptions","organizations_url":"https://api.github.com/users/orientechnologies/orgs","repos_url":"https://api.github.com/users/orientechnologies/repos","events_url":"https://api.github.com/users/orientechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/orientechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orientechnologies/orientdb-jdbc","description":"OrientDb JDBC Driver","fork":true,"url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc","forks_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/forks","keys_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/teams","hooks_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/hooks","issue_events_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/issues/events{/number}","events_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/events","assignees_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/assignees{/user}","branches_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/branches{/branch}","tags_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/tags","blobs_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/git/refs{/sha}","trees_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/statuses/{sha}","languages_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/languages","stargazers_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/stargazers","contributors_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/contributors","subscribers_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/subscribers","subscription_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/subscription","commits_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/commits{/sha}","git_commits_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/git/commits{/sha}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/comments{/number}","issue_comment_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/issues/comments/{number}","contents_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/contents/{+path}","compare_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/merges","archive_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/downloads","issues_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/issues{/number}","pulls_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls{/number}","milestones_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/milestones{/number}","notifications_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/labels{/name}","releases_url":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/releases{/id}","created_at":"2012-07-02T14:42:27Z","updated_at":"2015-01-29T01:31:54Z","pushed_at":"2015-01-29T01:31:54Z","git_url":"git://github.com/orientechnologies/orientdb-jdbc.git","ssh_url":"git@github.com:orientechnologies/orientdb-jdbc.git","clone_url":"https://github.com/orientechnologies/orientdb-jdbc.git","svn_url":"https://github.com/orientechnologies/orientdb-jdbc","homepage":"http://code.google.com/p/orient/","size":819,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":9,"forks":13,"open_issues":9,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls/18"},"html":{"href":"https://github.com/orientechnologies/orientdb-jdbc/pull/18"},"issue":{"href":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/issues/18"},"comments":{"href":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/orientechnologies/orientdb-jdbc/statuses/03d4e9475a8d89ad7360beb80fbf4c28801a6062"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":27,"deletions":5,"changed_files":1}}