{"action":"closed","issue":{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/568","repository_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm","labels_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/568/comments","events_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/568/events","html_url":"https://github.com/ebean-orm/avaje-ebeanorm/issues/568","id":134406400,"number":568,"title":"ENH: Add ability to turn of getGeneratedKeys with @Transactional annotation","user":{"login":"rbygrave","id":208973,"avatar_url":"https://avatars.githubusercontent.com/u/208973?v=3","gravatar_id":"","url":"https://api.github.com/users/rbygrave","html_url":"https://github.com/rbygrave","followers_url":"https://api.github.com/users/rbygrave/followers","following_url":"https://api.github.com/users/rbygrave/following{/other_user}","gists_url":"https://api.github.com/users/rbygrave/gists{/gist_id}","starred_url":"https://api.github.com/users/rbygrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbygrave/subscriptions","organizations_url":"https://api.github.com/users/rbygrave/orgs","repos_url":"https://api.github.com/users/rbygrave/repos","events_url":"https://api.github.com/users/rbygrave/events{/privacy}","received_events_url":"https://api.github.com/users/rbygrave/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"rbygrave","id":208973,"avatar_url":"https://avatars.githubusercontent.com/u/208973?v=3","gravatar_id":"","url":"https://api.github.com/users/rbygrave","html_url":"https://github.com/rbygrave","followers_url":"https://api.github.com/users/rbygrave/followers","following_url":"https://api.github.com/users/rbygrave/following{/other_user}","gists_url":"https://api.github.com/users/rbygrave/gists{/gist_id}","starred_url":"https://api.github.com/users/rbygrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbygrave/subscriptions","organizations_url":"https://api.github.com/users/rbygrave/orgs","repos_url":"https://api.github.com/users/rbygrave/repos","events_url":"https://api.github.com/users/rbygrave/events{/privacy}","received_events_url":"https://api.github.com/users/rbygrave/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/milestones/94","html_url":"https://github.com/ebean-orm/avaje-ebeanorm/milestones/7.11.3","labels_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/milestones/94/labels","id":1761937,"number":94,"title":"7.11.3","description":null,"creator":{"login":"rbygrave","id":208973,"avatar_url":"https://avatars.githubusercontent.com/u/208973?v=3","gravatar_id":"","url":"https://api.github.com/users/rbygrave","html_url":"https://github.com/rbygrave","followers_url":"https://api.github.com/users/rbygrave/followers","following_url":"https://api.github.com/users/rbygrave/following{/other_user}","gists_url":"https://api.github.com/users/rbygrave/gists{/gist_id}","starred_url":"https://api.github.com/users/rbygrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbygrave/subscriptions","organizations_url":"https://api.github.com/users/rbygrave/orgs","repos_url":"https://api.github.com/users/rbygrave/repos","events_url":"https://api.github.com/users/rbygrave/events{/privacy}","received_events_url":"https://api.github.com/users/rbygrave/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"open","created_at":"2016-05-12T09:00:12Z","updated_at":"2016-05-16T04:28:03Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-02-17T21:33:43Z","updated_at":"2016-05-16T04:28:03Z","closed_at":"2016-05-16T04:28:03Z","body":"Currently to turn off getGeneratedKeys you can do this explicitly on the transaction but not via the @Transactional annotation.\r\n\r\nThis enhancement adds support such that you can go:\r\n\r\n```java\r\n@Transactional(getGeneratedKeys=false, batchSize=500, ...)\r\npublic void myBatchInsertMethod() {\r\n\r\n  // ... do lots of inserts where we don't want \r\n  // ... the overhead of getting the generated keys\r\n\r\n}\r\n```\r\n"}}