{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/673","labels_url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/673/comments","events_url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/673/events","html_url":"https://github.com/jruby/activerecord-jdbc-adapter/pull/673","id":96029028,"number":673,"title":"Use JDBC instead of PostgreSQL prepared statement bind marker","user":{"login":"donv","id":57275,"avatar_url":"https://avatars.githubusercontent.com/u/57275?v=3","gravatar_id":"","url":"https://api.github.com/users/donv","html_url":"https://github.com/donv","followers_url":"https://api.github.com/users/donv/followers","following_url":"https://api.github.com/users/donv/following{/other_user}","gists_url":"https://api.github.com/users/donv/gists{/gist_id}","starred_url":"https://api.github.com/users/donv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donv/subscriptions","organizations_url":"https://api.github.com/users/donv/orgs","repos_url":"https://api.github.com/users/donv/repos","events_url":"https://api.github.com/users/donv/events{/privacy}","received_events_url":"https://api.github.com/users/donv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/labels/postgres","name":"postgres","color":"009BCE"},{"url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/labels/rails-4.2","name":"rails-4.2","color":"55239f"}],"state":"open","locked":false,"assignee":{"login":"donv","id":57275,"avatar_url":"https://avatars.githubusercontent.com/u/57275?v=3","gravatar_id":"","url":"https://api.github.com/users/donv","html_url":"https://github.com/donv","followers_url":"https://api.github.com/users/donv/followers","following_url":"https://api.github.com/users/donv/following{/other_user}","gists_url":"https://api.github.com/users/donv/gists{/gist_id}","starred_url":"https://api.github.com/users/donv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donv/subscriptions","organizations_url":"https://api.github.com/users/donv/orgs","repos_url":"https://api.github.com/users/donv/repos","events_url":"https://api.github.com/users/donv/events{/privacy}","received_events_url":"https://api.github.com/users/donv/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/milestones/6","html_url":"https://github.com/jruby/activerecord-jdbc-adapter/milestones/1.3.18","labels_url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/milestones/6/labels","id":1212358,"number":6,"title":"1.3.18","description":"Possibly get Derby green with AR 4.2.","creator":{"login":"donv","id":57275,"avatar_url":"https://avatars.githubusercontent.com/u/57275?v=3","gravatar_id":"","url":"https://api.github.com/users/donv","html_url":"https://github.com/donv","followers_url":"https://api.github.com/users/donv/followers","following_url":"https://api.github.com/users/donv/following{/other_user}","gists_url":"https://api.github.com/users/donv/gists{/gist_id}","starred_url":"https://api.github.com/users/donv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donv/subscriptions","organizations_url":"https://api.github.com/users/donv/orgs","repos_url":"https://api.github.com/users/donv/repos","events_url":"https://api.github.com/users/donv/events{/privacy}","received_events_url":"https://api.github.com/users/donv/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":6,"state":"open","created_at":"2015-07-17T06:41:08Z","updated_at":"2015-07-20T10:00:26Z","due_on":"2015-07-23T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-07-20T10:00:26Z","updated_at":"2015-07-20T10:05:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/pulls/673","html_url":"https://github.com/jruby/activerecord-jdbc-adapter/pull/673","diff_url":"https://github.com/jruby/activerecord-jdbc-adapter/pull/673.diff","patch_url":"https://github.com/jruby/activerecord-jdbc-adapter/pull/673.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/comments/122834368","html_url":"https://github.com/jruby/activerecord-jdbc-adapter/pull/673#issuecomment-122834368","issue_url":"https://api.github.com/repos/jruby/activerecord-jdbc-adapter/issues/673","id":122834368,"user":{"login":"donv","id":57275,"avatar_url":"https://avatars.githubusercontent.com/u/57275?v=3","gravatar_id":"","url":"https://api.github.com/users/donv","html_url":"https://github.com/donv","followers_url":"https://api.github.com/users/donv/followers","following_url":"https://api.github.com/users/donv/following{/other_user}","gists_url":"https://api.github.com/users/donv/gists{/gist_id}","starred_url":"https://api.github.com/users/donv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donv/subscriptions","organizations_url":"https://api.github.com/users/donv/orgs","repos_url":"https://api.github.com/users/donv/repos","events_url":"https://api.github.com/users/donv/events{/privacy}","received_events_url":"https://api.github.com/users/donv/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T10:05:51Z","updated_at":"2015-07-20T10:05:51Z","body":"Hi @kares !\r\n\r\nThanks for looking at this :smile: \r\n\r\nThis overrides the AREL gem like we do for Derby.  Arel has a special patch for PostgreSQL to convert the bind markers:\r\n\r\nhttps://github.com/rails/arel/blob/master/lib/arel/visitors/postgresql.rb#L39\r\n\r\nThis messes up the JDBC prepared statements since JDBC uses \"?\" for bind markers.\r\n\r\nIs this not the way to do it?\r\n"}}