{"action":"created","issue":{"url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4594","labels_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4594/labels{/name}","comments_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4594/comments","events_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4594/events","html_url":"https://github.com/jOOQ/jOOQ/issues/4594","id":109596950,"number":4594,"title":"Add DSLContext.query(SQL) etc","user":{"login":"kxbmap","id":409709,"avatar_url":"https://avatars.githubusercontent.com/u/409709?v=3","gravatar_id":"","url":"https://api.github.com/users/kxbmap","html_url":"https://github.com/kxbmap","followers_url":"https://api.github.com/users/kxbmap/followers","following_url":"https://api.github.com/users/kxbmap/following{/other_user}","gists_url":"https://api.github.com/users/kxbmap/gists{/gist_id}","starred_url":"https://api.github.com/users/kxbmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kxbmap/subscriptions","organizations_url":"https://api.github.com/users/kxbmap/orgs","repos_url":"https://api.github.com/users/kxbmap/repos","events_url":"https://api.github.com/users/kxbmap/events{/privacy}","received_events_url":"https://api.github.com/users/kxbmap/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/C:%20Functionality","name":"C: Functionality","color":"0000aa"},{"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/P:%20Medium","name":"P: Medium","color":"ffaaaa"},{"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/R:%20Fixed","name":"R: Fixed","color":"55ff55"},{"url":"https://api.github.com/repos/jOOQ/jOOQ/labels/T:%20Enhancement","name":"T: Enhancement","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jOOQ/jOOQ/milestones/111","html_url":"https://github.com/jOOQ/jOOQ/milestones/Version%203.7.0","labels_url":"https://api.github.com/repos/jOOQ/jOOQ/milestones/111/labels","id":900413,"number":111,"title":"Version 3.7.0","description":"","creator":{"login":"lukaseder","id":734593,"avatar_url":"https://avatars.githubusercontent.com/u/734593?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaseder","html_url":"https://github.com/lukaseder","followers_url":"https://api.github.com/users/lukaseder/followers","following_url":"https://api.github.com/users/lukaseder/following{/other_user}","gists_url":"https://api.github.com/users/lukaseder/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaseder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaseder/subscriptions","organizations_url":"https://api.github.com/users/lukaseder/orgs","repos_url":"https://api.github.com/users/lukaseder/repos","events_url":"https://api.github.com/users/lukaseder/events{/privacy}","received_events_url":"https://api.github.com/users/lukaseder/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":232,"state":"open","created_at":"2014-12-11T12:56:14Z","updated_at":"2015-10-04T17:03:30Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-10-03T01:54:11Z","updated_at":"2015-10-04T17:09:53Z","closed_at":"2015-10-03T16:19:53Z","body":"I recognize that there is no way to execute `org.jooq.SQL` instance directly.\r\n`DSLContext.query(SQL)` is usefull for the following case.\r\n\r\n```java\r\nSQL sql = createSomeSQL();\r\nDSL.using(configuration).query(sql).execute();\r\n```\r\n\r\nAnd Scala's string interpolation:\r\n```scala\r\nval sql = sql\"\"\"\r\n  insert into foo values (${id}, ${value});\r\n\"\"\"\r\nDSL.using(configuration).query(sql).execute()\r\n```\r\n\r\nMaybe other `xxx(String sql, Object... bindings)` methods can also add `xxx(SQL sql)` version.\r\n"},"comment":{"url":"https://api.github.com/repos/jOOQ/jOOQ/issues/comments/145367090","html_url":"https://github.com/jOOQ/jOOQ/issues/4594#issuecomment-145367090","issue_url":"https://api.github.com/repos/jOOQ/jOOQ/issues/4594","id":145367090,"user":{"login":"lukaseder","id":734593,"avatar_url":"https://avatars.githubusercontent.com/u/734593?v=3","gravatar_id":"","url":"https://api.github.com/users/lukaseder","html_url":"https://github.com/lukaseder","followers_url":"https://api.github.com/users/lukaseder/followers","following_url":"https://api.github.com/users/lukaseder/following{/other_user}","gists_url":"https://api.github.com/users/lukaseder/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaseder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaseder/subscriptions","organizations_url":"https://api.github.com/users/lukaseder/orgs","repos_url":"https://api.github.com/users/lukaseder/repos","events_url":"https://api.github.com/users/lukaseder/events{/privacy}","received_events_url":"https://api.github.com/users/lukaseder/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T17:09:53Z","updated_at":"2015-10-04T17:09:53Z","body":"Very interesting, thanks for sharing! I suspect that this is definitely something we could add to jOOQ-scala!"}}