{"action":"created","comment":{"url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/comments/25557616","id":25557616,"diff_hunk":"@@ -1,148 +0,0 @@\n-/*\n- * To change this license header, choose License Headers in Project Properties.\n- * To change this template file, choose Tools | Templates\n- * and open the template in the editor.\n- */\n-package models;\n-\n-import java.io.Serializable;\n-import java.math.BigInteger;\n-import java.util.Date;\n-import javax.persistence.Basic;\n-import javax.persistence.Column;\n-import javax.persistence.Entity;\n-import javax.persistence.GeneratedValue;\n-import javax.persistence.GenerationType;\n-import javax.persistence.Id;\n-import javax.persistence.JoinColumn;\n-import javax.persistence.ManyToOne;\n-import javax.persistence.NamedQueries;\n-import javax.persistence.NamedQuery;\n-import javax.persistence.Table;\n-import javax.persistence.Temporal;\n-import javax.persistence.TemporalType;\n-import javax.xml.bind.annotation.XmlRootElement;\n-\n-enum TransactionType{\n-    INCOMING,\n-    OUTCOMING;\n-}\n-\n-/**\n- *\n- * @author stas\n- */\n-@Entity\n-@Table(name = \"transactions\")\n-@XmlRootElement\n-@NamedQueries({\n-    @NamedQuery(name = \"Transactions.findAll\", query = \"SELECT t FROM Transactions t\"),\n-    @NamedQuery(name = \"Transactions.findById\", query = \"SELECT t FROM Transactions t WHERE t.id = :id\"),\n-    @NamedQuery(name = \"Transactions.findByAmount\", query = \"SELECT t FROM Transactions t WHERE t.amount = :amount\"),\n-    @NamedQuery(name = \"Transactions.findByCreated\", query = \"SELECT t FROM Transactions t WHERE t.created = :created\"),\n-    @NamedQuery(name = \"Transactions.findByComment\", query = \"SELECT t FROM Transactions t WHERE t.comment = :comment\")})","path":"src/main/java/models/Transactions.java","position":43,"original_position":43,"commit_id":"a6a97773b1c1a6a80fa4062e5b524842358eadd3","original_commit_id":"a6a97773b1c1a6a80fa4062e5b524842358eadd3","user":{"login":"AntonIvanov87","id":3289141,"avatar_url":"https://avatars.githubusercontent.com/u/3289141?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonIvanov87","html_url":"https://github.com/AntonIvanov87","followers_url":"https://api.github.com/users/AntonIvanov87/followers","following_url":"https://api.github.com/users/AntonIvanov87/following{/other_user}","gists_url":"https://api.github.com/users/AntonIvanov87/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonIvanov87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonIvanov87/subscriptions","organizations_url":"https://api.github.com/users/AntonIvanov87/orgs","repos_url":"https://api.github.com/users/AntonIvanov87/repos","events_url":"https://api.github.com/users/AntonIvanov87/events{/privacy}","received_events_url":"https://api.github.com/users/AntonIvanov87/received_events","type":"User","site_admin":false},"body":"Правда нужно искать по комменту?","created_at":"2015-02-28T13:56:39Z","updated_at":"2015-02-28T13:56:39Z","html_url":"https://github.com/sallyruthstruik/hh_hibernate_example/pull/1#discussion_r25557616","pull_request_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/comments/25557616"},"html":{"href":"https://github.com/sallyruthstruik/hh_hibernate_example/pull/1#discussion_r25557616"},"pull_request":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/1","id":28413675,"html_url":"https://github.com/sallyruthstruik/hh_hibernate_example/pull/1","diff_url":"https://github.com/sallyruthstruik/hh_hibernate_example/pull/1.diff","patch_url":"https://github.com/sallyruthstruik/hh_hibernate_example/pull/1.patch","issue_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues/1","number":1,"state":"open","locked":false,"title":"initial","user":{"login":"sallyruthstruik","id":1565642,"avatar_url":"https://avatars.githubusercontent.com/u/1565642?v=3","gravatar_id":"","url":"https://api.github.com/users/sallyruthstruik","html_url":"https://github.com/sallyruthstruik","followers_url":"https://api.github.com/users/sallyruthstruik/followers","following_url":"https://api.github.com/users/sallyruthstruik/following{/other_user}","gists_url":"https://api.github.com/users/sallyruthstruik/gists{/gist_id}","starred_url":"https://api.github.com/users/sallyruthstruik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallyruthstruik/subscriptions","organizations_url":"https://api.github.com/users/sallyruthstruik/orgs","repos_url":"https://api.github.com/users/sallyruthstruik/repos","events_url":"https://api.github.com/users/sallyruthstruik/events{/privacy}","received_events_url":"https://api.github.com/users/sallyruthstruik/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-31T11:31:15Z","updated_at":"2015-02-28T13:56:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"939f8fc0fcc009690857d56a1aa0ea34ccfa347b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues/1/comments","statuses_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/statuses/a6a97773b1c1a6a80fa4062e5b524842358eadd3","head":{"label":"sallyruthstruik:stable","ref":"stable","sha":"a6a97773b1c1a6a80fa4062e5b524842358eadd3","user":{"login":"sallyruthstruik","id":1565642,"avatar_url":"https://avatars.githubusercontent.com/u/1565642?v=3","gravatar_id":"","url":"https://api.github.com/users/sallyruthstruik","html_url":"https://github.com/sallyruthstruik","followers_url":"https://api.github.com/users/sallyruthstruik/followers","following_url":"https://api.github.com/users/sallyruthstruik/following{/other_user}","gists_url":"https://api.github.com/users/sallyruthstruik/gists{/gist_id}","starred_url":"https://api.github.com/users/sallyruthstruik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallyruthstruik/subscriptions","organizations_url":"https://api.github.com/users/sallyruthstruik/orgs","repos_url":"https://api.github.com/users/sallyruthstruik/repos","events_url":"https://api.github.com/users/sallyruthstruik/events{/privacy}","received_events_url":"https://api.github.com/users/sallyruthstruik/received_events","type":"User","site_admin":false},"repo":{"id":29932244,"name":"hh_hibernate_example","full_name":"sallyruthstruik/hh_hibernate_example","owner":{"login":"sallyruthstruik","id":1565642,"avatar_url":"https://avatars.githubusercontent.com/u/1565642?v=3","gravatar_id":"","url":"https://api.github.com/users/sallyruthstruik","html_url":"https://github.com/sallyruthstruik","followers_url":"https://api.github.com/users/sallyruthstruik/followers","following_url":"https://api.github.com/users/sallyruthstruik/following{/other_user}","gists_url":"https://api.github.com/users/sallyruthstruik/gists{/gist_id}","starred_url":"https://api.github.com/users/sallyruthstruik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallyruthstruik/subscriptions","organizations_url":"https://api.github.com/users/sallyruthstruik/orgs","repos_url":"https://api.github.com/users/sallyruthstruik/repos","events_url":"https://api.github.com/users/sallyruthstruik/events{/privacy}","received_events_url":"https://api.github.com/users/sallyruthstruik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sallyruthstruik/hh_hibernate_example","description":"","fork":false,"url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example","forks_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/forks","keys_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/teams","hooks_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/hooks","issue_events_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues/events{/number}","events_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/events","assignees_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/assignees{/user}","branches_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/branches{/branch}","tags_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/tags","blobs_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/refs{/sha}","trees_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/statuses/{sha}","languages_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/languages","stargazers_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/stargazers","contributors_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/contributors","subscribers_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/subscribers","subscription_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/subscription","commits_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/commits{/sha}","git_commits_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/commits{/sha}","comments_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/comments{/number}","issue_comment_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues/comments{/number}","contents_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/contents/{+path}","compare_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/merges","archive_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/downloads","issues_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues{/number}","pulls_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls{/number}","milestones_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/milestones{/number}","notifications_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/labels{/name}","releases_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/releases{/id}","created_at":"2015-01-27T19:59:56Z","updated_at":"2015-01-31T11:13:15Z","pushed_at":"2015-01-31T11:35:13Z","git_url":"git://github.com/sallyruthstruik/hh_hibernate_example.git","ssh_url":"git@github.com:sallyruthstruik/hh_hibernate_example.git","clone_url":"https://github.com/sallyruthstruik/hh_hibernate_example.git","svn_url":"https://github.com/sallyruthstruik/hh_hibernate_example","homepage":null,"size":264,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"sallyruthstruik:develop","ref":"develop","sha":"21d16574f77e74b8abe10504374a506a75d562f0","user":{"login":"sallyruthstruik","id":1565642,"avatar_url":"https://avatars.githubusercontent.com/u/1565642?v=3","gravatar_id":"","url":"https://api.github.com/users/sallyruthstruik","html_url":"https://github.com/sallyruthstruik","followers_url":"https://api.github.com/users/sallyruthstruik/followers","following_url":"https://api.github.com/users/sallyruthstruik/following{/other_user}","gists_url":"https://api.github.com/users/sallyruthstruik/gists{/gist_id}","starred_url":"https://api.github.com/users/sallyruthstruik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallyruthstruik/subscriptions","organizations_url":"https://api.github.com/users/sallyruthstruik/orgs","repos_url":"https://api.github.com/users/sallyruthstruik/repos","events_url":"https://api.github.com/users/sallyruthstruik/events{/privacy}","received_events_url":"https://api.github.com/users/sallyruthstruik/received_events","type":"User","site_admin":false},"repo":{"id":29932244,"name":"hh_hibernate_example","full_name":"sallyruthstruik/hh_hibernate_example","owner":{"login":"sallyruthstruik","id":1565642,"avatar_url":"https://avatars.githubusercontent.com/u/1565642?v=3","gravatar_id":"","url":"https://api.github.com/users/sallyruthstruik","html_url":"https://github.com/sallyruthstruik","followers_url":"https://api.github.com/users/sallyruthstruik/followers","following_url":"https://api.github.com/users/sallyruthstruik/following{/other_user}","gists_url":"https://api.github.com/users/sallyruthstruik/gists{/gist_id}","starred_url":"https://api.github.com/users/sallyruthstruik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sallyruthstruik/subscriptions","organizations_url":"https://api.github.com/users/sallyruthstruik/orgs","repos_url":"https://api.github.com/users/sallyruthstruik/repos","events_url":"https://api.github.com/users/sallyruthstruik/events{/privacy}","received_events_url":"https://api.github.com/users/sallyruthstruik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sallyruthstruik/hh_hibernate_example","description":"","fork":false,"url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example","forks_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/forks","keys_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/teams","hooks_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/hooks","issue_events_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues/events{/number}","events_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/events","assignees_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/assignees{/user}","branches_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/branches{/branch}","tags_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/tags","blobs_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/refs{/sha}","trees_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/statuses/{sha}","languages_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/languages","stargazers_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/stargazers","contributors_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/contributors","subscribers_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/subscribers","subscription_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/subscription","commits_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/commits{/sha}","git_commits_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/git/commits{/sha}","comments_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/comments{/number}","issue_comment_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues/comments{/number}","contents_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/contents/{+path}","compare_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/merges","archive_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/downloads","issues_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues{/number}","pulls_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls{/number}","milestones_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/milestones{/number}","notifications_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/labels{/name}","releases_url":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/releases{/id}","created_at":"2015-01-27T19:59:56Z","updated_at":"2015-01-31T11:13:15Z","pushed_at":"2015-01-31T11:35:13Z","git_url":"git://github.com/sallyruthstruik/hh_hibernate_example.git","ssh_url":"git@github.com:sallyruthstruik/hh_hibernate_example.git","clone_url":"https://github.com/sallyruthstruik/hh_hibernate_example.git","svn_url":"https://github.com/sallyruthstruik/hh_hibernate_example","homepage":null,"size":264,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/1"},"html":{"href":"https://github.com/sallyruthstruik/hh_hibernate_example/pull/1"},"issue":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues/1"},"comments":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sallyruthstruik/hh_hibernate_example/statuses/a6a97773b1c1a6a80fa4062e5b524842358eadd3"}}}}