{"action":"created","comment":{"url":"https://api.github.com/repos/datastax/java-driver/pulls/comments/31902787","id":31902787,"diff_hunk":"@@ -144,6 +146,18 @@ public void save(T entity) {\n     }\n \n     /**\n+     * Save an entity mapped by this mapper and using special options for save.\n+     * <p/>\n+     *\n+     * @param entity the entity to save.\n+     * @param options the options object specified defining special options when saving.\n+     */\n+    public void save(T entity, QueryType.SaveOptions options) {\n+        this.saveOptions = options;","path":"driver-mapping/src/main/java/com/datastax/driver/mapping/Mapper.java","position":96,"original_position":96,"commit_id":"2c207032fba74bee9cb22a7698fb150b6b01bf91","original_commit_id":"2c207032fba74bee9cb22a7698fb150b6b01bf91","user":{"login":"newkek","id":3471564,"avatar_url":"https://avatars.githubusercontent.com/u/3471564?v=3","gravatar_id":"","url":"https://api.github.com/users/newkek","html_url":"https://github.com/newkek","followers_url":"https://api.github.com/users/newkek/followers","following_url":"https://api.github.com/users/newkek/following{/other_user}","gists_url":"https://api.github.com/users/newkek/gists{/gist_id}","starred_url":"https://api.github.com/users/newkek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newkek/subscriptions","organizations_url":"https://api.github.com/users/newkek/orgs","repos_url":"https://api.github.com/users/newkek/repos","events_url":"https://api.github.com/users/newkek/events{/privacy}","received_events_url":"https://api.github.com/users/newkek/received_events","type":"User","site_admin":false},"body":"No, see Mapper.java (l.130), and `MapperSaveOptionsTest#should_use_using_options_only_once` .","created_at":"2015-06-08T10:42:01Z","updated_at":"2015-06-08T10:42:01Z","html_url":"https://github.com/datastax/java-driver/pull/347#discussion_r31902787","pull_request_url":"https://api.github.com/repos/datastax/java-driver/pulls/347","_links":{"self":{"href":"https://api.github.com/repos/datastax/java-driver/pulls/comments/31902787"},"html":{"href":"https://github.com/datastax/java-driver/pull/347#discussion_r31902787"},"pull_request":{"href":"https://api.github.com/repos/datastax/java-driver/pulls/347"}}},"pull_request":{"url":"https://api.github.com/repos/datastax/java-driver/pulls/347","id":36022819,"html_url":"https://github.com/datastax/java-driver/pull/347","diff_url":"https://github.com/datastax/java-driver/pull/347.diff","patch_url":"https://github.com/datastax/java-driver/pull/347.patch","issue_url":"https://api.github.com/repos/datastax/java-driver/issues/347","number":347,"state":"open","locked":false,"title":"JAVA-477/540 : Add USING options for saving objects","user":{"login":"newkek","id":3471564,"avatar_url":"https://avatars.githubusercontent.com/u/3471564?v=3","gravatar_id":"","url":"https://api.github.com/users/newkek","html_url":"https://github.com/newkek","followers_url":"https://api.github.com/users/newkek/followers","following_url":"https://api.github.com/users/newkek/following{/other_user}","gists_url":"https://api.github.com/users/newkek/gists{/gist_id}","starred_url":"https://api.github.com/users/newkek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newkek/subscriptions","organizations_url":"https://api.github.com/users/newkek/orgs","repos_url":"https://api.github.com/users/newkek/repos","events_url":"https://api.github.com/users/newkek/events{/privacy}","received_events_url":"https://api.github.com/users/newkek/received_events","type":"User","site_admin":false},"body":"Also : \r\n- Mapper.preparedQueries is a ConcurrentMap.","created_at":"2015-05-22T11:36:30Z","updated_at":"2015-06-08T10:42:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3128be91bc7e781f77c23ddb00290e4b210eb5ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/datastax/java-driver/pulls/347/commits","review_comments_url":"https://api.github.com/repos/datastax/java-driver/pulls/347/comments","review_comment_url":"https://api.github.com/repos/datastax/java-driver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/datastax/java-driver/issues/347/comments","statuses_url":"https://api.github.com/repos/datastax/java-driver/statuses/2c207032fba74bee9cb22a7698fb150b6b01bf91","head":{"label":"datastax:java477","ref":"java477","sha":"2c207032fba74bee9cb22a7698fb150b6b01bf91","user":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"repo":{"id":6765281,"name":"java-driver","full_name":"datastax/java-driver","owner":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datastax/java-driver","description":"DataStax Java Driver for Apache Cassandra","fork":false,"url":"https://api.github.com/repos/datastax/java-driver","forks_url":"https://api.github.com/repos/datastax/java-driver/forks","keys_url":"https://api.github.com/repos/datastax/java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/java-driver/teams","hooks_url":"https://api.github.com/repos/datastax/java-driver/hooks","issue_events_url":"https://api.github.com/repos/datastax/java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/java-driver/events","assignees_url":"https://api.github.com/repos/datastax/java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/java-driver/tags","blobs_url":"https://api.github.com/repos/datastax/java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/java-driver/languages","stargazers_url":"https://api.github.com/repos/datastax/java-driver/stargazers","contributors_url":"https://api.github.com/repos/datastax/java-driver/contributors","subscribers_url":"https://api.github.com/repos/datastax/java-driver/subscribers","subscription_url":"https://api.github.com/repos/datastax/java-driver/subscription","commits_url":"https://api.github.com/repos/datastax/java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datastax/java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/java-driver/merges","archive_url":"https://api.github.com/repos/datastax/java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/java-driver/downloads","issues_url":"https://api.github.com/repos/datastax/java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/java-driver/labels{/name}","releases_url":"https://api.github.com/repos/datastax/java-driver/releases{/id}","created_at":"2012-11-19T18:44:41Z","updated_at":"2015-06-07T10:37:18Z","pushed_at":"2015-06-08T10:27:43Z","git_url":"git://github.com/datastax/java-driver.git","ssh_url":"git@github.com:datastax/java-driver.git","clone_url":"https://github.com/datastax/java-driver.git","svn_url":"https://github.com/datastax/java-driver","homepage":null,"size":22992,"stargazers_count":470,"watchers_count":470,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":325,"mirror_url":null,"open_issues_count":33,"forks":325,"open_issues":33,"watchers":470,"default_branch":"2.1"}},"base":{"label":"datastax:2.1","ref":"2.1","sha":"b4d397c33abec1f42fa8a35869e219ef60c0e7e8","user":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"repo":{"id":6765281,"name":"java-driver","full_name":"datastax/java-driver","owner":{"login":"datastax","id":573369,"avatar_url":"https://avatars.githubusercontent.com/u/573369?v=3","gravatar_id":"","url":"https://api.github.com/users/datastax","html_url":"https://github.com/datastax","followers_url":"https://api.github.com/users/datastax/followers","following_url":"https://api.github.com/users/datastax/following{/other_user}","gists_url":"https://api.github.com/users/datastax/gists{/gist_id}","starred_url":"https://api.github.com/users/datastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datastax/subscriptions","organizations_url":"https://api.github.com/users/datastax/orgs","repos_url":"https://api.github.com/users/datastax/repos","events_url":"https://api.github.com/users/datastax/events{/privacy}","received_events_url":"https://api.github.com/users/datastax/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/datastax/java-driver","description":"DataStax Java Driver for Apache Cassandra","fork":false,"url":"https://api.github.com/repos/datastax/java-driver","forks_url":"https://api.github.com/repos/datastax/java-driver/forks","keys_url":"https://api.github.com/repos/datastax/java-driver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/datastax/java-driver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/datastax/java-driver/teams","hooks_url":"https://api.github.com/repos/datastax/java-driver/hooks","issue_events_url":"https://api.github.com/repos/datastax/java-driver/issues/events{/number}","events_url":"https://api.github.com/repos/datastax/java-driver/events","assignees_url":"https://api.github.com/repos/datastax/java-driver/assignees{/user}","branches_url":"https://api.github.com/repos/datastax/java-driver/branches{/branch}","tags_url":"https://api.github.com/repos/datastax/java-driver/tags","blobs_url":"https://api.github.com/repos/datastax/java-driver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/datastax/java-driver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/datastax/java-driver/git/refs{/sha}","trees_url":"https://api.github.com/repos/datastax/java-driver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/datastax/java-driver/statuses/{sha}","languages_url":"https://api.github.com/repos/datastax/java-driver/languages","stargazers_url":"https://api.github.com/repos/datastax/java-driver/stargazers","contributors_url":"https://api.github.com/repos/datastax/java-driver/contributors","subscribers_url":"https://api.github.com/repos/datastax/java-driver/subscribers","subscription_url":"https://api.github.com/repos/datastax/java-driver/subscription","commits_url":"https://api.github.com/repos/datastax/java-driver/commits{/sha}","git_commits_url":"https://api.github.com/repos/datastax/java-driver/git/commits{/sha}","comments_url":"https://api.github.com/repos/datastax/java-driver/comments{/number}","issue_comment_url":"https://api.github.com/repos/datastax/java-driver/issues/comments{/number}","contents_url":"https://api.github.com/repos/datastax/java-driver/contents/{+path}","compare_url":"https://api.github.com/repos/datastax/java-driver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/datastax/java-driver/merges","archive_url":"https://api.github.com/repos/datastax/java-driver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/datastax/java-driver/downloads","issues_url":"https://api.github.com/repos/datastax/java-driver/issues{/number}","pulls_url":"https://api.github.com/repos/datastax/java-driver/pulls{/number}","milestones_url":"https://api.github.com/repos/datastax/java-driver/milestones{/number}","notifications_url":"https://api.github.com/repos/datastax/java-driver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/datastax/java-driver/labels{/name}","releases_url":"https://api.github.com/repos/datastax/java-driver/releases{/id}","created_at":"2012-11-19T18:44:41Z","updated_at":"2015-06-07T10:37:18Z","pushed_at":"2015-06-08T10:27:43Z","git_url":"git://github.com/datastax/java-driver.git","ssh_url":"git@github.com:datastax/java-driver.git","clone_url":"https://github.com/datastax/java-driver.git","svn_url":"https://github.com/datastax/java-driver","homepage":null,"size":22992,"stargazers_count":470,"watchers_count":470,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":325,"mirror_url":null,"open_issues_count":33,"forks":325,"open_issues":33,"watchers":470,"default_branch":"2.1"}},"_links":{"self":{"href":"https://api.github.com/repos/datastax/java-driver/pulls/347"},"html":{"href":"https://github.com/datastax/java-driver/pull/347"},"issue":{"href":"https://api.github.com/repos/datastax/java-driver/issues/347"},"comments":{"href":"https://api.github.com/repos/datastax/java-driver/issues/347/comments"},"review_comments":{"href":"https://api.github.com/repos/datastax/java-driver/pulls/347/comments"},"review_comment":{"href":"https://api.github.com/repos/datastax/java-driver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/datastax/java-driver/pulls/347/commits"},"statuses":{"href":"https://api.github.com/repos/datastax/java-driver/statuses/2c207032fba74bee9cb22a7698fb150b6b01bf91"}}}}