{"action":"closed","issue":{"url":"https://api.github.com/repos/Dreampie/Resty/issues/44","repository_url":"https://api.github.com/repos/Dreampie/Resty","labels_url":"https://api.github.com/repos/Dreampie/Resty/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/Dreampie/Resty/issues/44/comments","events_url":"https://api.github.com/repos/Dreampie/Resty/issues/44/events","html_url":"https://github.com/Dreampie/Resty/issues/44","id":173742263,"number":44,"title":"Resource方法配置@Transaction，不起作用","user":{"login":"zhangyanming","id":1542420,"avatar_url":"https://avatars.githubusercontent.com/u/1542420?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangyanming","html_url":"https://github.com/zhangyanming","followers_url":"https://api.github.com/users/zhangyanming/followers","following_url":"https://api.github.com/users/zhangyanming/following{/other_user}","gists_url":"https://api.github.com/users/zhangyanming/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangyanming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangyanming/subscriptions","organizations_url":"https://api.github.com/users/zhangyanming/orgs","repos_url":"https://api.github.com/users/zhangyanming/repos","events_url":"https://api.github.com/users/zhangyanming/events{/privacy}","received_events_url":"https://api.github.com/users/zhangyanming/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-29T10:16:03Z","updated_at":"2016-11-05T13:43:55Z","closed_at":"2016-11-05T13:43:55Z","body":"代码如下：\n`@API(\"/orderFeedback\")`\n`public class OrderFeedbackResource extends ApiResource {`\n‘@POST(\"/orderSign\")‘’\n    ‘’@Transaction’\n`public Map orderSign(OrderPositionLog HEAD, OrderSign XML_DATA){`\n`//共5条，保存2条后，抛出RuntimeException，数据库中前两条保存进去了。没有起到事务的作用。`\n`}`\n`}`\n\nAppConfig类\n‘interceptorLoader.add(new TransactionInterceptor());’\n"}}
{"actor":{"display_login":"Dreampie"}}