{"action":"created","comment":{"url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/comments/58338968","id":58338968,"diff_hunk":"@@ -0,0 +1,106 @@\n+package com.epam.olukash.dto;\n+\n+import javax.persistence.Column;\n+import javax.persistence.Entity;\n+import javax.persistence.FetchType;\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.SequenceGenerator;\n+import javax.persistence.Table;\n+\n+/**\n+ * @author Oleksii.Lukash\n+ */\n+\n+@Entity\n+@Table(name = \"Seat\")\n+public class Seat extends AbstractBean\n+{\n+\tpublic static final long serialVersionUID = 1L;\n+\n+\t@Id\n+\t@SequenceGenerator(name = \"seat_seq\", sequenceName = \"seat_seq\")\n+\t@GeneratedValue(strategy = GenerationType.AUTO, generator = \"seat_seq\")","path":"Module17/src/main/java/com/epam/olukash/dto/Seat.java","position":26,"original_position":26,"commit_id":"e1fbb6454634c77edf491bc6c3af4dd79b4622d4","original_commit_id":"e1fbb6454634c77edf491bc6c3af4dd79b4622d4","user":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"body":"Думаю, нет особой необходимости в @SequenceGenerator и в @GeneratedValue.\r\nПредлагаю удалить.","created_at":"2016-04-04T07:53:10Z","updated_at":"2016-04-04T07:53:10Z","html_url":"https://github.com/ozamay/JMP-2015/pull/16#discussion_r58338968","pull_request_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/comments/58338968"},"html":{"href":"https://github.com/ozamay/JMP-2015/pull/16#discussion_r58338968"},"pull_request":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/16","id":65071842,"html_url":"https://github.com/ozamay/JMP-2015/pull/16","diff_url":"https://github.com/ozamay/JMP-2015/pull/16.diff","patch_url":"https://github.com/ozamay/JMP-2015/pull/16.patch","issue_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/16","number":16,"state":"open","locked":false,"title":"module17","user":{"login":"oleksiilukash","id":16079228,"avatar_url":"https://avatars.githubusercontent.com/u/16079228?v=3","gravatar_id":"","url":"https://api.github.com/users/oleksiilukash","html_url":"https://github.com/oleksiilukash","followers_url":"https://api.github.com/users/oleksiilukash/followers","following_url":"https://api.github.com/users/oleksiilukash/following{/other_user}","gists_url":"https://api.github.com/users/oleksiilukash/gists{/gist_id}","starred_url":"https://api.github.com/users/oleksiilukash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleksiilukash/subscriptions","organizations_url":"https://api.github.com/users/oleksiilukash/orgs","repos_url":"https://api.github.com/users/oleksiilukash/repos","events_url":"https://api.github.com/users/oleksiilukash/events{/privacy}","received_events_url":"https://api.github.com/users/oleksiilukash/received_events","type":"User","site_admin":false},"body":"module17","created_at":"2016-04-03T15:43:34Z","updated_at":"2016-04-04T07:53:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da9213ad7b8c643ab279f195aaf4ee4d2e1e03a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/16/commits","review_comments_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/16/comments","review_comment_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/16/comments","statuses_url":"https://api.github.com/repos/ozamay/JMP-2015/statuses/e1fbb6454634c77edf491bc6c3af4dd79b4622d4","head":{"label":"ozamay:module17","ref":"module17","sha":"e1fbb6454634c77edf491bc6c3af4dd79b4622d4","user":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"repo":{"id":47105657,"name":"JMP-2015","full_name":"ozamay/JMP-2015","owner":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ozamay/JMP-2015","description":"","fork":false,"url":"https://api.github.com/repos/ozamay/JMP-2015","forks_url":"https://api.github.com/repos/ozamay/JMP-2015/forks","keys_url":"https://api.github.com/repos/ozamay/JMP-2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ozamay/JMP-2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ozamay/JMP-2015/teams","hooks_url":"https://api.github.com/repos/ozamay/JMP-2015/hooks","issue_events_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/events{/number}","events_url":"https://api.github.com/repos/ozamay/JMP-2015/events","assignees_url":"https://api.github.com/repos/ozamay/JMP-2015/assignees{/user}","branches_url":"https://api.github.com/repos/ozamay/JMP-2015/branches{/branch}","tags_url":"https://api.github.com/repos/ozamay/JMP-2015/tags","blobs_url":"https://api.github.com/repos/ozamay/JMP-2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ozamay/JMP-2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ozamay/JMP-2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/ozamay/JMP-2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ozamay/JMP-2015/statuses/{sha}","languages_url":"https://api.github.com/repos/ozamay/JMP-2015/languages","stargazers_url":"https://api.github.com/repos/ozamay/JMP-2015/stargazers","contributors_url":"https://api.github.com/repos/ozamay/JMP-2015/contributors","subscribers_url":"https://api.github.com/repos/ozamay/JMP-2015/subscribers","subscription_url":"https://api.github.com/repos/ozamay/JMP-2015/subscription","commits_url":"https://api.github.com/repos/ozamay/JMP-2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/ozamay/JMP-2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/ozamay/JMP-2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/ozamay/JMP-2015/contents/{+path}","compare_url":"https://api.github.com/repos/ozamay/JMP-2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ozamay/JMP-2015/merges","archive_url":"https://api.github.com/repos/ozamay/JMP-2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ozamay/JMP-2015/downloads","issues_url":"https://api.github.com/repos/ozamay/JMP-2015/issues{/number}","pulls_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls{/number}","milestones_url":"https://api.github.com/repos/ozamay/JMP-2015/milestones{/number}","notifications_url":"https://api.github.com/repos/ozamay/JMP-2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ozamay/JMP-2015/labels{/name}","releases_url":"https://api.github.com/repos/ozamay/JMP-2015/releases{/id}","deployments_url":"https://api.github.com/repos/ozamay/JMP-2015/deployments","created_at":"2015-11-30T08:39:40Z","updated_at":"2016-01-18T16:27:31Z","pushed_at":"2016-04-03T15:43:34Z","git_url":"git://github.com/ozamay/JMP-2015.git","ssh_url":"git@github.com:ozamay/JMP-2015.git","clone_url":"https://github.com/ozamay/JMP-2015.git","svn_url":"https://github.com/ozamay/JMP-2015","homepage":null,"size":9508,"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":"master"}},"base":{"label":"ozamay:master","ref":"master","sha":"c4a37c561144069d1f55790b40a630c3a8906307","user":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"repo":{"id":47105657,"name":"JMP-2015","full_name":"ozamay/JMP-2015","owner":{"login":"ozamay","id":16079149,"avatar_url":"https://avatars.githubusercontent.com/u/16079149?v=3","gravatar_id":"","url":"https://api.github.com/users/ozamay","html_url":"https://github.com/ozamay","followers_url":"https://api.github.com/users/ozamay/followers","following_url":"https://api.github.com/users/ozamay/following{/other_user}","gists_url":"https://api.github.com/users/ozamay/gists{/gist_id}","starred_url":"https://api.github.com/users/ozamay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozamay/subscriptions","organizations_url":"https://api.github.com/users/ozamay/orgs","repos_url":"https://api.github.com/users/ozamay/repos","events_url":"https://api.github.com/users/ozamay/events{/privacy}","received_events_url":"https://api.github.com/users/ozamay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ozamay/JMP-2015","description":"","fork":false,"url":"https://api.github.com/repos/ozamay/JMP-2015","forks_url":"https://api.github.com/repos/ozamay/JMP-2015/forks","keys_url":"https://api.github.com/repos/ozamay/JMP-2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ozamay/JMP-2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ozamay/JMP-2015/teams","hooks_url":"https://api.github.com/repos/ozamay/JMP-2015/hooks","issue_events_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/events{/number}","events_url":"https://api.github.com/repos/ozamay/JMP-2015/events","assignees_url":"https://api.github.com/repos/ozamay/JMP-2015/assignees{/user}","branches_url":"https://api.github.com/repos/ozamay/JMP-2015/branches{/branch}","tags_url":"https://api.github.com/repos/ozamay/JMP-2015/tags","blobs_url":"https://api.github.com/repos/ozamay/JMP-2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ozamay/JMP-2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ozamay/JMP-2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/ozamay/JMP-2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ozamay/JMP-2015/statuses/{sha}","languages_url":"https://api.github.com/repos/ozamay/JMP-2015/languages","stargazers_url":"https://api.github.com/repos/ozamay/JMP-2015/stargazers","contributors_url":"https://api.github.com/repos/ozamay/JMP-2015/contributors","subscribers_url":"https://api.github.com/repos/ozamay/JMP-2015/subscribers","subscription_url":"https://api.github.com/repos/ozamay/JMP-2015/subscription","commits_url":"https://api.github.com/repos/ozamay/JMP-2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/ozamay/JMP-2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/ozamay/JMP-2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/ozamay/JMP-2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/ozamay/JMP-2015/contents/{+path}","compare_url":"https://api.github.com/repos/ozamay/JMP-2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ozamay/JMP-2015/merges","archive_url":"https://api.github.com/repos/ozamay/JMP-2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ozamay/JMP-2015/downloads","issues_url":"https://api.github.com/repos/ozamay/JMP-2015/issues{/number}","pulls_url":"https://api.github.com/repos/ozamay/JMP-2015/pulls{/number}","milestones_url":"https://api.github.com/repos/ozamay/JMP-2015/milestones{/number}","notifications_url":"https://api.github.com/repos/ozamay/JMP-2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ozamay/JMP-2015/labels{/name}","releases_url":"https://api.github.com/repos/ozamay/JMP-2015/releases{/id}","deployments_url":"https://api.github.com/repos/ozamay/JMP-2015/deployments","created_at":"2015-11-30T08:39:40Z","updated_at":"2016-01-18T16:27:31Z","pushed_at":"2016-04-03T15:43:34Z","git_url":"git://github.com/ozamay/JMP-2015.git","ssh_url":"git@github.com:ozamay/JMP-2015.git","clone_url":"https://github.com/ozamay/JMP-2015.git","svn_url":"https://github.com/ozamay/JMP-2015","homepage":null,"size":9508,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/16"},"html":{"href":"https://github.com/ozamay/JMP-2015/pull/16"},"issue":{"href":"https://api.github.com/repos/ozamay/JMP-2015/issues/16"},"comments":{"href":"https://api.github.com/repos/ozamay/JMP-2015/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ozamay/JMP-2015/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/ozamay/JMP-2015/statuses/e1fbb6454634c77edf491bc6c3af4dd79b4622d4"}}}}