{"action":"created","issue":{"url":"https://api.github.com/repos/balu123456/offersEngine_Job/issues/1","repository_url":"https://api.github.com/repos/balu123456/offersEngine_Job","labels_url":"https://api.github.com/repos/balu123456/offersEngine_Job/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/balu123456/offersEngine_Job/issues/1/comments","events_url":"https://api.github.com/repos/balu123456/offersEngine_Job/issues/1/events","html_url":"https://github.com/balu123456/offersEngine_Job/issues/1","id":358177857,"node_id":"MDU6SXNzdWUzNTgxNzc4NTc=","number":1,"title":"Using the JpaTransactionManager","user":{"login":"benas","id":1210553,"node_id":"MDQ6VXNlcjEyMTA1NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1210553?v=4","gravatar_id":"","url":"https://api.github.com/users/benas","html_url":"https://github.com/benas","followers_url":"https://api.github.com/users/benas/followers","following_url":"https://api.github.com/users/benas/following{/other_user}","gists_url":"https://api.github.com/users/benas/gists{/gist_id}","starred_url":"https://api.github.com/users/benas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benas/subscriptions","organizations_url":"https://api.github.com/users/benas/orgs","repos_url":"https://api.github.com/users/benas/repos","events_url":"https://api.github.com/users/benas/events{/privacy}","received_events_url":"https://api.github.com/users/benas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-07T19:03:56Z","updated_at":"2018-09-07T19:21:45Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI open this issue to show you how to configure your project to use the `JpaTransactionManager` with Spring Batch according to: https://stackoverflow.com/questions/52178696/spring-boot-batch-with-jpapagingitemreader.\r\n\r\nI see a couple of issues here:\r\n\r\n* As mentioned in SO, you need to use version `4.1.0.M3` in order for the fix to work\r\n* You need to remove the [`MapJobRespositoryFactoryBean`](https://github.com/balu123456/offersEngine_Job/blob/master/src/main/java/com/clearlane/offersengine_job/batchconfiguration/BatchScheduler.java#L52-L57) as this will create a map based job repository which does not use your transaction manager (but uses a `ResourcelessTransactionManager` instead)\r\n\r\nOther than that, I don't see anything wrong with your config.\r\n\r\nLet me know if you still have the issue.\r\n\r\nKr,\r\nMahmoud"},"comment":{"url":"https://api.github.com/repos/balu123456/offersEngine_Job/issues/comments/419539978","html_url":"https://github.com/balu123456/offersEngine_Job/issues/1#issuecomment-419539978","issue_url":"https://api.github.com/repos/balu123456/offersEngine_Job/issues/1","id":419539978,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTUzOTk3OA==","user":{"login":"balu123456","id":19956404,"node_id":"MDQ6VXNlcjE5OTU2NDA0","avatar_url":"https://avatars3.githubusercontent.com/u/19956404?v=4","gravatar_id":"","url":"https://api.github.com/users/balu123456","html_url":"https://github.com/balu123456","followers_url":"https://api.github.com/users/balu123456/followers","following_url":"https://api.github.com/users/balu123456/following{/other_user}","gists_url":"https://api.github.com/users/balu123456/gists{/gist_id}","starred_url":"https://api.github.com/users/balu123456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balu123456/subscriptions","organizations_url":"https://api.github.com/users/balu123456/orgs","repos_url":"https://api.github.com/users/balu123456/repos","events_url":"https://api.github.com/users/balu123456/events{/privacy}","received_events_url":"https://api.github.com/users/balu123456/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T19:21:45Z","updated_at":"2018-09-07T19:21:45Z","author_association":"OWNER","body":"Sure, Thansk @benas for you support"}}
{"actor":{"display_login":"balu123456"}}