{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/651","repository_url":"https://api.github.com/repos/grails/grails-core","labels_url":"https://api.github.com/repos/grails/grails-core/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/651/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/651/events","html_url":"https://github.com/grails/grails-core/issues/651","id":69278948,"number":651,"title":"re-add readOnly dataSources to ChainedTransactionManagerPostProcessor","user":{"login":"zyro23","id":1370899,"avatar_url":"https://avatars.githubusercontent.com/u/1370899?v=3","gravatar_id":"","url":"https://api.github.com/users/zyro23","html_url":"https://github.com/zyro23","followers_url":"https://api.github.com/users/zyro23/followers","following_url":"https://api.github.com/users/zyro23/following{/other_user}","gists_url":"https://api.github.com/users/zyro23/gists{/gist_id}","starred_url":"https://api.github.com/users/zyro23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyro23/subscriptions","organizations_url":"https://api.github.com/users/zyro23/orgs","repos_url":"https://api.github.com/users/zyro23/repos","events_url":"https://api.github.com/users/zyro23/events{/privacy}","received_events_url":"https://api.github.com/users/zyro23/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grails/grails-core/labels/Won't%20Fix","name":"Won't Fix","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-04-18T07:14:25Z","updated_at":"2016-07-23T11:25:04Z","closed_at":"2016-07-23T11:15:55Z","body":"see https://github.com/grails/grails-core/commit/4864b415219f77ad7e4029e128388563b2be54c4#commitcomment-10690398\r\n\r\nafter the changes for GRAILS-11104, readOnly dataSources are not any longer processed by `ChainedTransactionManagerPostProcessor`. that might seem logical because a readOnly dataSource is not supposed to commit any transaction. however, this does also affect/prevent the automatic opening of hibernate sessions by `@Transational`/`transactionManager` which leads to errors (no session etc., see linked comment).\r\n\r\nthanks, zyro"},"comment":{"url":"https://api.github.com/repos/grails/grails-core/issues/comments/234713341","html_url":"https://github.com/grails/grails-core/issues/651#issuecomment-234713341","issue_url":"https://api.github.com/repos/grails/grails-core/issues/651","id":234713341,"user":{"login":"zyro23","id":1370899,"avatar_url":"https://avatars.githubusercontent.com/u/1370899?v=3","gravatar_id":"","url":"https://api.github.com/users/zyro23","html_url":"https://github.com/zyro23","followers_url":"https://api.github.com/users/zyro23/followers","following_url":"https://api.github.com/users/zyro23/following{/other_user}","gists_url":"https://api.github.com/users/zyro23/gists{/gist_id}","starred_url":"https://api.github.com/users/zyro23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyro23/subscriptions","organizations_url":"https://api.github.com/users/zyro23/orgs","repos_url":"https://api.github.com/users/zyro23/repos","events_url":"https://api.github.com/users/zyro23/events{/privacy}","received_events_url":"https://api.github.com/users/zyro23/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T11:25:04Z","updated_at":"2016-07-23T11:25:04Z","body":":( having to use `withNewSession` in a `@Transactional` service just because an additional datasource is configured read-only does still not look right to me..."}}
{"actor":{"display_login":"zyro23"}}