{"action":"created","comment":{"url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/comments/295747019","pull_request_review_id":252213393,"id":295747019,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5NTc0NzAxOQ==","diff_hunk":"@@ -1,10 +1,61 @@\n package app.dao.impl;\n \n-import app.entities.Project;\n-\n-\n-public class ProjectDaoImpl extends BasicCrudDaoImpl<Project> {\n-\n+import app.dao.ProjectDao;\n+import app.dto.ProjectDto;\n+import app.entities.*;\n+import org.hibernate.SessionFactory;\n+import org.hibernate.query.Query;\n+import org.springframework.beans.factory.annotation.Autowired;\n+import org.springframework.stereotype.Repository;\n+import org.springframework.transaction.annotation.Transactional;\n+\n+import java.util.LinkedList;\n+import java.util.List;\n+\n+@Repository\n+@Transactional\n+public class ProjectDaoImpl extends BasicCrudDaoImpl<Project> implements ProjectDao {\n+\n+    @Autowired\n+    private SessionFactory sessionFactory;\n+\n+    private static final String GET_PROJECT_TEAM_QUERY = \"select empl.name, empl.photoUrl from Employee empl join Assignment assign on empl.id = assign.employeeId join Project proj on proj.id = assign.projectId where proj.id = ?\";","path":"src/main/java/app/dao/impl/ProjectDaoImpl.java","position":27,"original_position":27,"commit_id":"b7ff51b39783fab137bbf83cc8bff7e8ad128d17","original_commit_id":"b7ff51b39783fab137bbf83cc8bff7e8ad128d17","user":{"login":"KirylShalpuk","id":43741421,"node_id":"MDQ6VXNlcjQzNzQxNDIx","avatar_url":"https://avatars1.githubusercontent.com/u/43741421?v=4","gravatar_id":"","url":"https://api.github.com/users/KirylShalpuk","html_url":"https://github.com/KirylShalpuk","followers_url":"https://api.github.com/users/KirylShalpuk/followers","following_url":"https://api.github.com/users/KirylShalpuk/following{/other_user}","gists_url":"https://api.github.com/users/KirylShalpuk/gists{/gist_id}","starred_url":"https://api.github.com/users/KirylShalpuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KirylShalpuk/subscriptions","organizations_url":"https://api.github.com/users/KirylShalpuk/orgs","repos_url":"https://api.github.com/users/KirylShalpuk/repos","events_url":"https://api.github.com/users/KirylShalpuk/events{/privacy}","received_events_url":"https://api.github.com/users/KirylShalpuk/received_events","type":"User","site_admin":false},"body":"You have 16 Checkstyle violations","created_at":"2019-06-20T10:36:33Z","updated_at":"2019-06-20T10:36:33Z","html_url":"https://github.com/AlexKolonitsky/TimesheetManagement/pull/115#discussion_r295747019","pull_request_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/115","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/comments/295747019"},"html":{"href":"https://github.com/AlexKolonitsky/TimesheetManagement/pull/115#discussion_r295747019"},"pull_request":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/115"}},"in_reply_to_id":295744815},"pull_request":{"url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/115","id":289862882,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg5ODYyODgy","html_url":"https://github.com/AlexKolonitsky/TimesheetManagement/pull/115","diff_url":"https://github.com/AlexKolonitsky/TimesheetManagement/pull/115.diff","patch_url":"https://github.com/AlexKolonitsky/TimesheetManagement/pull/115.patch","issue_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues/115","number":115,"state":"open","locked":false,"title":"Modified project","user":{"login":"AlenaChuvasova","id":39169371,"node_id":"MDQ6VXNlcjM5MTY5Mzcx","avatar_url":"https://avatars3.githubusercontent.com/u/39169371?v=4","gravatar_id":"","url":"https://api.github.com/users/AlenaChuvasova","html_url":"https://github.com/AlenaChuvasova","followers_url":"https://api.github.com/users/AlenaChuvasova/followers","following_url":"https://api.github.com/users/AlenaChuvasova/following{/other_user}","gists_url":"https://api.github.com/users/AlenaChuvasova/gists{/gist_id}","starred_url":"https://api.github.com/users/AlenaChuvasova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlenaChuvasova/subscriptions","organizations_url":"https://api.github.com/users/AlenaChuvasova/orgs","repos_url":"https://api.github.com/users/AlenaChuvasova/repos","events_url":"https://api.github.com/users/AlenaChuvasova/events{/privacy}","received_events_url":"https://api.github.com/users/AlenaChuvasova/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-06-19T20:16:59Z","updated_at":"2019-06-20T10:36:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4580c1826fc804ceb7767040646a47dd7889965c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/115/commits","review_comments_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/115/comments","review_comment_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues/115/comments","statuses_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/statuses/b7ff51b39783fab137bbf83cc8bff7e8ad128d17","head":{"label":"AlexKolonitsky:modified_Project","ref":"modified_Project","sha":"b7ff51b39783fab137bbf83cc8bff7e8ad128d17","user":{"login":"AlexKolonitsky","id":947428,"node_id":"MDQ6VXNlcjk0NzQyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/947428?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexKolonitsky","html_url":"https://github.com/AlexKolonitsky","followers_url":"https://api.github.com/users/AlexKolonitsky/followers","following_url":"https://api.github.com/users/AlexKolonitsky/following{/other_user}","gists_url":"https://api.github.com/users/AlexKolonitsky/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKolonitsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKolonitsky/subscriptions","organizations_url":"https://api.github.com/users/AlexKolonitsky/orgs","repos_url":"https://api.github.com/users/AlexKolonitsky/repos","events_url":"https://api.github.com/users/AlexKolonitsky/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKolonitsky/received_events","type":"User","site_admin":false},"repo":{"id":175276868,"node_id":"MDEwOlJlcG9zaXRvcnkxNzUyNzY4Njg=","name":"TimesheetManagement","full_name":"AlexKolonitsky/TimesheetManagement","private":false,"owner":{"login":"AlexKolonitsky","id":947428,"node_id":"MDQ6VXNlcjk0NzQyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/947428?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexKolonitsky","html_url":"https://github.com/AlexKolonitsky","followers_url":"https://api.github.com/users/AlexKolonitsky/followers","following_url":"https://api.github.com/users/AlexKolonitsky/following{/other_user}","gists_url":"https://api.github.com/users/AlexKolonitsky/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKolonitsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKolonitsky/subscriptions","organizations_url":"https://api.github.com/users/AlexKolonitsky/orgs","repos_url":"https://api.github.com/users/AlexKolonitsky/repos","events_url":"https://api.github.com/users/AlexKolonitsky/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKolonitsky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AlexKolonitsky/TimesheetManagement","description":null,"fork":true,"url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement","forks_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/forks","keys_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/teams","hooks_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/hooks","issue_events_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues/events{/number}","events_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/events","assignees_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/assignees{/user}","branches_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/branches{/branch}","tags_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/tags","blobs_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/languages","stargazers_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/stargazers","contributors_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/contributors","subscribers_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/subscribers","subscription_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/subscription","commits_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/contents/{+path}","compare_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/merges","archive_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/downloads","issues_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues{/number}","pulls_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/labels{/name}","releases_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/releases{/id}","deployments_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/deployments","created_at":"2019-03-12T18:47:59Z","updated_at":"2019-06-19T13:25:55Z","pushed_at":"2019-06-20T00:07:44Z","git_url":"git://github.com/AlexKolonitsky/TimesheetManagement.git","ssh_url":"git@github.com:AlexKolonitsky/TimesheetManagement.git","clone_url":"https://github.com/AlexKolonitsky/TimesheetManagement.git","svn_url":"https://github.com/AlexKolonitsky/TimesheetManagement","homepage":null,"size":1025,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":25,"license":null,"forks":5,"open_issues":25,"watchers":0,"default_branch":"master"}},"base":{"label":"AlexKolonitsky:master","ref":"master","sha":"8d20f1dea329fce5571adde4e2fc8ff18472bd8e","user":{"login":"AlexKolonitsky","id":947428,"node_id":"MDQ6VXNlcjk0NzQyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/947428?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexKolonitsky","html_url":"https://github.com/AlexKolonitsky","followers_url":"https://api.github.com/users/AlexKolonitsky/followers","following_url":"https://api.github.com/users/AlexKolonitsky/following{/other_user}","gists_url":"https://api.github.com/users/AlexKolonitsky/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKolonitsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKolonitsky/subscriptions","organizations_url":"https://api.github.com/users/AlexKolonitsky/orgs","repos_url":"https://api.github.com/users/AlexKolonitsky/repos","events_url":"https://api.github.com/users/AlexKolonitsky/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKolonitsky/received_events","type":"User","site_admin":false},"repo":{"id":175276868,"node_id":"MDEwOlJlcG9zaXRvcnkxNzUyNzY4Njg=","name":"TimesheetManagement","full_name":"AlexKolonitsky/TimesheetManagement","private":false,"owner":{"login":"AlexKolonitsky","id":947428,"node_id":"MDQ6VXNlcjk0NzQyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/947428?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexKolonitsky","html_url":"https://github.com/AlexKolonitsky","followers_url":"https://api.github.com/users/AlexKolonitsky/followers","following_url":"https://api.github.com/users/AlexKolonitsky/following{/other_user}","gists_url":"https://api.github.com/users/AlexKolonitsky/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKolonitsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKolonitsky/subscriptions","organizations_url":"https://api.github.com/users/AlexKolonitsky/orgs","repos_url":"https://api.github.com/users/AlexKolonitsky/repos","events_url":"https://api.github.com/users/AlexKolonitsky/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKolonitsky/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AlexKolonitsky/TimesheetManagement","description":null,"fork":true,"url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement","forks_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/forks","keys_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/teams","hooks_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/hooks","issue_events_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues/events{/number}","events_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/events","assignees_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/assignees{/user}","branches_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/branches{/branch}","tags_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/tags","blobs_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/statuses/{sha}","languages_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/languages","stargazers_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/stargazers","contributors_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/contributors","subscribers_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/subscribers","subscription_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/subscription","commits_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/contents/{+path}","compare_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/merges","archive_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/downloads","issues_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues{/number}","pulls_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls{/number}","milestones_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/milestones{/number}","notifications_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/labels{/name}","releases_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/releases{/id}","deployments_url":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/deployments","created_at":"2019-03-12T18:47:59Z","updated_at":"2019-06-19T13:25:55Z","pushed_at":"2019-06-20T00:07:44Z","git_url":"git://github.com/AlexKolonitsky/TimesheetManagement.git","ssh_url":"git@github.com:AlexKolonitsky/TimesheetManagement.git","clone_url":"https://github.com/AlexKolonitsky/TimesheetManagement.git","svn_url":"https://github.com/AlexKolonitsky/TimesheetManagement","homepage":null,"size":1025,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":25,"license":null,"forks":5,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/115"},"html":{"href":"https://github.com/AlexKolonitsky/TimesheetManagement/pull/115"},"issue":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues/115"},"comments":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/AlexKolonitsky/TimesheetManagement/statuses/b7ff51b39783fab137bbf83cc8bff7e8ad128d17"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"KirylShalpuk"}}