{"action":"created","comment":{"url":"https://api.github.com/repos/javers/javers/pulls/comments/25761241","id":25761241,"diff_hunk":"@@ -1,41 +1,58 @@\n-package org.javers.repository.sql\n+package org.javers.repository.sql.integration\n \n import org.h2.tools.Server\n import org.javers.core.JaversRepositoryE2ETest\n import org.javers.core.model.SnapshotEntity\n+import org.javers.repository.sql.ConnectionProvider\n+import org.javers.repository.sql.DialectName\n+import org.javers.repository.sql.SqlRepositoryBuilder\n import org.javers.repository.sql.reposiotries.PersistentGlobalId\n-import spock.lang.Shared\n \n import java.sql.Connection\n-import java.sql.DriverManager\n \n import static org.javers.core.JaversBuilder.javers\n import static org.javers.core.metamodel.object.InstanceIdDTO.instanceId\n \n-class JaversSqlRepositoryE2ETest extends JaversRepositoryE2ETest {\n+abstract class BaseSqlIntegrationTest extends JaversRepositoryE2ETest {\n+\n+    abstract Connection getConnection();\n+\n+    protected Connection dbConnection;","path":"javers-persistence-sql/src/test/groovy/org/javers/repository/sql/integration/BaseSqlIntegrationTest.groovy","position":24,"original_position":24,"commit_id":"4b11ace9a7799ccb828261b738e0da70a4a3ba04","original_commit_id":"4b11ace9a7799ccb828261b738e0da70a4a3ba04","user":{"login":"pawelszymczyk","id":6159409,"avatar_url":"https://avatars.githubusercontent.com/u/6159409?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelszymczyk","html_url":"https://github.com/pawelszymczyk","followers_url":"https://api.github.com/users/pawelszymczyk/followers","following_url":"https://api.github.com/users/pawelszymczyk/following{/other_user}","gists_url":"https://api.github.com/users/pawelszymczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelszymczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelszymczyk/subscriptions","organizations_url":"https://api.github.com/users/pawelszymczyk/orgs","repos_url":"https://api.github.com/users/pawelszymczyk/repos","events_url":"https://api.github.com/users/pawelszymczyk/events{/privacy}","received_events_url":"https://api.github.com/users/pawelszymczyk/received_events","type":"User","site_admin":false},"body":"ok nie bedzie protected, ale jest uzywana jeszcze w cleanup i w testach","created_at":"2015-03-04T09:24:44Z","updated_at":"2015-03-04T09:24:44Z","html_url":"https://github.com/javers/javers/pull/120#discussion_r25761241","pull_request_url":"https://api.github.com/repos/javers/javers/pulls/120","_links":{"self":{"href":"https://api.github.com/repos/javers/javers/pulls/comments/25761241"},"html":{"href":"https://github.com/javers/javers/pull/120#discussion_r25761241"},"pull_request":{"href":"https://api.github.com/repos/javers/javers/pulls/120"}}},"pull_request":{"url":"https://api.github.com/repos/javers/javers/pulls/120","id":30249124,"html_url":"https://github.com/javers/javers/pull/120","diff_url":"https://github.com/javers/javers/pull/120.diff","patch_url":"https://github.com/javers/javers/pull/120.patch","issue_url":"https://api.github.com/repos/javers/javers/issues/120","number":120,"state":"open","locked":false,"title":"#104 integration tests","user":{"login":"pawelszymczyk","id":6159409,"avatar_url":"https://avatars.githubusercontent.com/u/6159409?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelszymczyk","html_url":"https://github.com/pawelszymczyk","followers_url":"https://api.github.com/users/pawelszymczyk/followers","following_url":"https://api.github.com/users/pawelszymczyk/following{/other_user}","gists_url":"https://api.github.com/users/pawelszymczyk/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelszymczyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelszymczyk/subscriptions","organizations_url":"https://api.github.com/users/pawelszymczyk/orgs","repos_url":"https://api.github.com/users/pawelszymczyk/repos","events_url":"https://api.github.com/users/pawelszymczyk/events{/privacy}","received_events_url":"https://api.github.com/users/pawelszymczyk/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-01T21:25:17Z","updated_at":"2015-03-04T09:24:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9168412a8e5b42b1a23691d6c6fd9db31fc16d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/javers/javers/pulls/120/commits","review_comments_url":"https://api.github.com/repos/javers/javers/pulls/120/comments","review_comment_url":"https://api.github.com/repos/javers/javers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/javers/javers/issues/120/comments","statuses_url":"https://api.github.com/repos/javers/javers/statuses/4b11ace9a7799ccb828261b738e0da70a4a3ba04","head":{"label":"javers:#104","ref":"#104","sha":"4b11ace9a7799ccb828261b738e0da70a4a3ba04","user":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"repo":{"id":15071115,"name":"javers","full_name":"javers/javers","owner":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/javers/javers","description":"JaVers is a tool for auditing object-oriented data","fork":false,"url":"https://api.github.com/repos/javers/javers","forks_url":"https://api.github.com/repos/javers/javers/forks","keys_url":"https://api.github.com/repos/javers/javers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javers/javers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javers/javers/teams","hooks_url":"https://api.github.com/repos/javers/javers/hooks","issue_events_url":"https://api.github.com/repos/javers/javers/issues/events{/number}","events_url":"https://api.github.com/repos/javers/javers/events","assignees_url":"https://api.github.com/repos/javers/javers/assignees{/user}","branches_url":"https://api.github.com/repos/javers/javers/branches{/branch}","tags_url":"https://api.github.com/repos/javers/javers/tags","blobs_url":"https://api.github.com/repos/javers/javers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javers/javers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javers/javers/git/refs{/sha}","trees_url":"https://api.github.com/repos/javers/javers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javers/javers/statuses/{sha}","languages_url":"https://api.github.com/repos/javers/javers/languages","stargazers_url":"https://api.github.com/repos/javers/javers/stargazers","contributors_url":"https://api.github.com/repos/javers/javers/contributors","subscribers_url":"https://api.github.com/repos/javers/javers/subscribers","subscription_url":"https://api.github.com/repos/javers/javers/subscription","commits_url":"https://api.github.com/repos/javers/javers/commits{/sha}","git_commits_url":"https://api.github.com/repos/javers/javers/git/commits{/sha}","comments_url":"https://api.github.com/repos/javers/javers/comments{/number}","issue_comment_url":"https://api.github.com/repos/javers/javers/issues/comments{/number}","contents_url":"https://api.github.com/repos/javers/javers/contents/{+path}","compare_url":"https://api.github.com/repos/javers/javers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javers/javers/merges","archive_url":"https://api.github.com/repos/javers/javers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javers/javers/downloads","issues_url":"https://api.github.com/repos/javers/javers/issues{/number}","pulls_url":"https://api.github.com/repos/javers/javers/pulls{/number}","milestones_url":"https://api.github.com/repos/javers/javers/milestones{/number}","notifications_url":"https://api.github.com/repos/javers/javers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javers/javers/labels{/name}","releases_url":"https://api.github.com/repos/javers/javers/releases{/id}","created_at":"2013-12-10T08:23:03Z","updated_at":"2015-02-27T23:06:33Z","pushed_at":"2015-03-04T09:05:00Z","git_url":"git://github.com/javers/javers.git","ssh_url":"git@github.com:javers/javers.git","clone_url":"https://github.com/javers/javers.git","svn_url":"https://github.com/javers/javers","homepage":"","size":4356,"stargazers_count":48,"watchers_count":48,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":48,"default_branch":"master"}},"base":{"label":"javers:master","ref":"master","sha":"31f48074f1f03712e9e84c40d68cda5710e9386a","user":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"repo":{"id":15071115,"name":"javers","full_name":"javers/javers","owner":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/javers/javers","description":"JaVers is a tool for auditing object-oriented data","fork":false,"url":"https://api.github.com/repos/javers/javers","forks_url":"https://api.github.com/repos/javers/javers/forks","keys_url":"https://api.github.com/repos/javers/javers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javers/javers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javers/javers/teams","hooks_url":"https://api.github.com/repos/javers/javers/hooks","issue_events_url":"https://api.github.com/repos/javers/javers/issues/events{/number}","events_url":"https://api.github.com/repos/javers/javers/events","assignees_url":"https://api.github.com/repos/javers/javers/assignees{/user}","branches_url":"https://api.github.com/repos/javers/javers/branches{/branch}","tags_url":"https://api.github.com/repos/javers/javers/tags","blobs_url":"https://api.github.com/repos/javers/javers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javers/javers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javers/javers/git/refs{/sha}","trees_url":"https://api.github.com/repos/javers/javers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javers/javers/statuses/{sha}","languages_url":"https://api.github.com/repos/javers/javers/languages","stargazers_url":"https://api.github.com/repos/javers/javers/stargazers","contributors_url":"https://api.github.com/repos/javers/javers/contributors","subscribers_url":"https://api.github.com/repos/javers/javers/subscribers","subscription_url":"https://api.github.com/repos/javers/javers/subscription","commits_url":"https://api.github.com/repos/javers/javers/commits{/sha}","git_commits_url":"https://api.github.com/repos/javers/javers/git/commits{/sha}","comments_url":"https://api.github.com/repos/javers/javers/comments{/number}","issue_comment_url":"https://api.github.com/repos/javers/javers/issues/comments{/number}","contents_url":"https://api.github.com/repos/javers/javers/contents/{+path}","compare_url":"https://api.github.com/repos/javers/javers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javers/javers/merges","archive_url":"https://api.github.com/repos/javers/javers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javers/javers/downloads","issues_url":"https://api.github.com/repos/javers/javers/issues{/number}","pulls_url":"https://api.github.com/repos/javers/javers/pulls{/number}","milestones_url":"https://api.github.com/repos/javers/javers/milestones{/number}","notifications_url":"https://api.github.com/repos/javers/javers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javers/javers/labels{/name}","releases_url":"https://api.github.com/repos/javers/javers/releases{/id}","created_at":"2013-12-10T08:23:03Z","updated_at":"2015-02-27T23:06:33Z","pushed_at":"2015-03-04T09:05:00Z","git_url":"git://github.com/javers/javers.git","ssh_url":"git@github.com:javers/javers.git","clone_url":"https://github.com/javers/javers.git","svn_url":"https://github.com/javers/javers","homepage":"","size":4356,"stargazers_count":48,"watchers_count":48,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/javers/javers/pulls/120"},"html":{"href":"https://github.com/javers/javers/pull/120"},"issue":{"href":"https://api.github.com/repos/javers/javers/issues/120"},"comments":{"href":"https://api.github.com/repos/javers/javers/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/javers/javers/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/javers/javers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/javers/javers/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/javers/javers/statuses/4b11ace9a7799ccb828261b738e0da70a4a3ba04"}}}}