{"action":"created","comment":{"url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/comments/56048624","id":56048624,"diff_hunk":"@@ -6,11 +6,37 @@\n  */\n package org.hibernate.datastore.ogm.orientdb.utils;\n \n+import com.tinkerpop.blueprints.impls.orient.OrientGraph;\n import org.hibernate.ogm.backendtck.simpleentity.CRUDTest;\n+import org.junit.Before;\n \n /**\n  * @author Davide D'Alto\n  */\n public class OrientDBTest extends CRUDTest {\n \n+\tprivate static final String TEST_DB_URL = \"memory:/tmp/orientdb_ogm_test\";\n+\n+\t/**\n+\t * Drop and create the test classes (tables) schema in OrientDB\n+\t */\n+\t@Before\n+\tpublic void intialize() {","path":"orientdb/src/test/java/org/hibernate/datastore/ogm/orientdb/utils/OrientDBTest.java","position":19,"original_position":19,"commit_id":"2fda2c2cb8cdb924219bb8e913c00ef742d8525e","original_commit_id":"2fda2c2cb8cdb924219bb8e913c00ef742d8525e","user":{"login":"DavideD","id":559221,"avatar_url":"https://avatars.githubusercontent.com/u/559221?v=3","gravatar_id":"","url":"https://api.github.com/users/DavideD","html_url":"https://github.com/DavideD","followers_url":"https://api.github.com/users/DavideD/followers","following_url":"https://api.github.com/users/DavideD/following{/other_user}","gists_url":"https://api.github.com/users/DavideD/gists{/gist_id}","starred_url":"https://api.github.com/users/DavideD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavideD/subscriptions","organizations_url":"https://api.github.com/users/DavideD/orgs","repos_url":"https://api.github.com/users/DavideD/repos","events_url":"https://api.github.com/users/DavideD/events{/privacy}","received_events_url":"https://api.github.com/users/DavideD/received_events","type":"User","site_admin":false},"body":"Ah I see now, ideally we should do this when the session factory is created.\r\nUsing the `SchemaDefiner` I was talking about before","created_at":"2016-03-14T18:13:23Z","updated_at":"2016-03-14T18:13:23Z","html_url":"https://github.com/DavideD/hibernate-ogm/pull/15#discussion_r56048624","pull_request_url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/comments/56048624"},"html":{"href":"https://github.com/DavideD/hibernate-ogm/pull/15#discussion_r56048624"},"pull_request":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/15","id":62172713,"html_url":"https://github.com/DavideD/hibernate-ogm/pull/15","diff_url":"https://github.com/DavideD/hibernate-ogm/pull/15.diff","patch_url":"https://github.com/DavideD/hibernate-ogm/pull/15.patch","issue_url":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/15","number":15,"state":"open","locked":false,"title":"First working version for Simple CRUD using the Graph API","user":{"login":"cristhiank","id":1218220,"avatar_url":"https://avatars.githubusercontent.com/u/1218220?v=3","gravatar_id":"","url":"https://api.github.com/users/cristhiank","html_url":"https://github.com/cristhiank","followers_url":"https://api.github.com/users/cristhiank/followers","following_url":"https://api.github.com/users/cristhiank/following{/other_user}","gists_url":"https://api.github.com/users/cristhiank/gists{/gist_id}","starred_url":"https://api.github.com/users/cristhiank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristhiank/subscriptions","organizations_url":"https://api.github.com/users/cristhiank/orgs","repos_url":"https://api.github.com/users/cristhiank/repos","events_url":"https://api.github.com/users/cristhiank/events{/privacy}","received_events_url":"https://api.github.com/users/cristhiank/received_events","type":"User","site_admin":false},"body":"@DavideD  this is the new request with all the changes we discussed.\r\nThe CRUD test works and I'm using the Graph API. \r\nI also added the code styling and I did separate commits for each logical feature.... I still have some things to adjust but it's my first approach, let me know what you think.\r\n","created_at":"2016-03-09T02:50:22Z","updated_at":"2016-03-14T18:13:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed4687eeae9d420a80815eb7e2c02840630d36ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/15/commits","review_comments_url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/15/comments","review_comment_url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/15/comments","statuses_url":"https://api.github.com/repos/DavideD/hibernate-ogm/statuses/2fda2c2cb8cdb924219bb8e913c00ef742d8525e","head":{"label":"cristhiank:OGM-855-OrientDB","ref":"OGM-855-OrientDB","sha":"2fda2c2cb8cdb924219bb8e913c00ef742d8525e","user":{"login":"cristhiank","id":1218220,"avatar_url":"https://avatars.githubusercontent.com/u/1218220?v=3","gravatar_id":"","url":"https://api.github.com/users/cristhiank","html_url":"https://github.com/cristhiank","followers_url":"https://api.github.com/users/cristhiank/followers","following_url":"https://api.github.com/users/cristhiank/following{/other_user}","gists_url":"https://api.github.com/users/cristhiank/gists{/gist_id}","starred_url":"https://api.github.com/users/cristhiank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristhiank/subscriptions","organizations_url":"https://api.github.com/users/cristhiank/orgs","repos_url":"https://api.github.com/users/cristhiank/repos","events_url":"https://api.github.com/users/cristhiank/events{/privacy}","received_events_url":"https://api.github.com/users/cristhiank/received_events","type":"User","site_admin":false},"repo":{"id":53239444,"name":"hibernate-ogm","full_name":"cristhiank/hibernate-ogm","owner":{"login":"cristhiank","id":1218220,"avatar_url":"https://avatars.githubusercontent.com/u/1218220?v=3","gravatar_id":"","url":"https://api.github.com/users/cristhiank","html_url":"https://github.com/cristhiank","followers_url":"https://api.github.com/users/cristhiank/followers","following_url":"https://api.github.com/users/cristhiank/following{/other_user}","gists_url":"https://api.github.com/users/cristhiank/gists{/gist_id}","starred_url":"https://api.github.com/users/cristhiank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristhiank/subscriptions","organizations_url":"https://api.github.com/users/cristhiank/orgs","repos_url":"https://api.github.com/users/cristhiank/repos","events_url":"https://api.github.com/users/cristhiank/events{/privacy}","received_events_url":"https://api.github.com/users/cristhiank/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cristhiank/hibernate-ogm","description":"Hibernate Object/Grid Mapper","fork":true,"url":"https://api.github.com/repos/cristhiank/hibernate-ogm","forks_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/forks","keys_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/teams","hooks_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/hooks","issue_events_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/issues/events{/number}","events_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/events","assignees_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/assignees{/user}","branches_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/branches{/branch}","tags_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/tags","blobs_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/git/refs{/sha}","trees_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/statuses/{sha}","languages_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/languages","stargazers_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/stargazers","contributors_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/contributors","subscribers_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/subscribers","subscription_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/subscription","commits_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/commits{/sha}","git_commits_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/git/commits{/sha}","comments_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/comments{/number}","issue_comment_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/issues/comments{/number}","contents_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/contents/{+path}","compare_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/merges","archive_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/downloads","issues_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/issues{/number}","pulls_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/pulls{/number}","milestones_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/milestones{/number}","notifications_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/labels{/name}","releases_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/releases{/id}","deployments_url":"https://api.github.com/repos/cristhiank/hibernate-ogm/deployments","created_at":"2016-03-06T05:30:51Z","updated_at":"2016-03-06T05:30:56Z","pushed_at":"2016-03-09T02:45:48Z","git_url":"git://github.com/cristhiank/hibernate-ogm.git","ssh_url":"git@github.com:cristhiank/hibernate-ogm.git","clone_url":"https://github.com/cristhiank/hibernate-ogm.git","svn_url":"https://github.com/cristhiank/hibernate-ogm","homepage":"http://community.jboss.org/en/hibernate/ogm","size":13144,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DavideD:OGM-855-OrientDB","ref":"OGM-855-OrientDB","sha":"a5cff58fdced9c20328f866f213c5db71e61efd2","user":{"login":"DavideD","id":559221,"avatar_url":"https://avatars.githubusercontent.com/u/559221?v=3","gravatar_id":"","url":"https://api.github.com/users/DavideD","html_url":"https://github.com/DavideD","followers_url":"https://api.github.com/users/DavideD/followers","following_url":"https://api.github.com/users/DavideD/following{/other_user}","gists_url":"https://api.github.com/users/DavideD/gists{/gist_id}","starred_url":"https://api.github.com/users/DavideD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavideD/subscriptions","organizations_url":"https://api.github.com/users/DavideD/orgs","repos_url":"https://api.github.com/users/DavideD/repos","events_url":"https://api.github.com/users/DavideD/events{/privacy}","received_events_url":"https://api.github.com/users/DavideD/received_events","type":"User","site_admin":false},"repo":{"id":1645658,"name":"hibernate-ogm","full_name":"DavideD/hibernate-ogm","owner":{"login":"DavideD","id":559221,"avatar_url":"https://avatars.githubusercontent.com/u/559221?v=3","gravatar_id":"","url":"https://api.github.com/users/DavideD","html_url":"https://github.com/DavideD","followers_url":"https://api.github.com/users/DavideD/followers","following_url":"https://api.github.com/users/DavideD/following{/other_user}","gists_url":"https://api.github.com/users/DavideD/gists{/gist_id}","starred_url":"https://api.github.com/users/DavideD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavideD/subscriptions","organizations_url":"https://api.github.com/users/DavideD/orgs","repos_url":"https://api.github.com/users/DavideD/repos","events_url":"https://api.github.com/users/DavideD/events{/privacy}","received_events_url":"https://api.github.com/users/DavideD/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DavideD/hibernate-ogm","description":"Hibernate Object/Grid Mapper","fork":true,"url":"https://api.github.com/repos/DavideD/hibernate-ogm","forks_url":"https://api.github.com/repos/DavideD/hibernate-ogm/forks","keys_url":"https://api.github.com/repos/DavideD/hibernate-ogm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DavideD/hibernate-ogm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DavideD/hibernate-ogm/teams","hooks_url":"https://api.github.com/repos/DavideD/hibernate-ogm/hooks","issue_events_url":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/events{/number}","events_url":"https://api.github.com/repos/DavideD/hibernate-ogm/events","assignees_url":"https://api.github.com/repos/DavideD/hibernate-ogm/assignees{/user}","branches_url":"https://api.github.com/repos/DavideD/hibernate-ogm/branches{/branch}","tags_url":"https://api.github.com/repos/DavideD/hibernate-ogm/tags","blobs_url":"https://api.github.com/repos/DavideD/hibernate-ogm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DavideD/hibernate-ogm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DavideD/hibernate-ogm/git/refs{/sha}","trees_url":"https://api.github.com/repos/DavideD/hibernate-ogm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DavideD/hibernate-ogm/statuses/{sha}","languages_url":"https://api.github.com/repos/DavideD/hibernate-ogm/languages","stargazers_url":"https://api.github.com/repos/DavideD/hibernate-ogm/stargazers","contributors_url":"https://api.github.com/repos/DavideD/hibernate-ogm/contributors","subscribers_url":"https://api.github.com/repos/DavideD/hibernate-ogm/subscribers","subscription_url":"https://api.github.com/repos/DavideD/hibernate-ogm/subscription","commits_url":"https://api.github.com/repos/DavideD/hibernate-ogm/commits{/sha}","git_commits_url":"https://api.github.com/repos/DavideD/hibernate-ogm/git/commits{/sha}","comments_url":"https://api.github.com/repos/DavideD/hibernate-ogm/comments{/number}","issue_comment_url":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/comments{/number}","contents_url":"https://api.github.com/repos/DavideD/hibernate-ogm/contents/{+path}","compare_url":"https://api.github.com/repos/DavideD/hibernate-ogm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DavideD/hibernate-ogm/merges","archive_url":"https://api.github.com/repos/DavideD/hibernate-ogm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DavideD/hibernate-ogm/downloads","issues_url":"https://api.github.com/repos/DavideD/hibernate-ogm/issues{/number}","pulls_url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls{/number}","milestones_url":"https://api.github.com/repos/DavideD/hibernate-ogm/milestones{/number}","notifications_url":"https://api.github.com/repos/DavideD/hibernate-ogm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DavideD/hibernate-ogm/labels{/name}","releases_url":"https://api.github.com/repos/DavideD/hibernate-ogm/releases{/id}","deployments_url":"https://api.github.com/repos/DavideD/hibernate-ogm/deployments","created_at":"2011-04-21T14:40:12Z","updated_at":"2016-03-06T05:30:28Z","pushed_at":"2016-03-14T17:45:46Z","git_url":"git://github.com/DavideD/hibernate-ogm.git","ssh_url":"git@github.com:DavideD/hibernate-ogm.git","clone_url":"https://github.com/DavideD/hibernate-ogm.git","svn_url":"https://github.com/DavideD/hibernate-ogm","homepage":"http://community.jboss.org/en/hibernate/ogm","size":13335,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/15"},"html":{"href":"https://github.com/DavideD/hibernate-ogm/pull/15"},"issue":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/15"},"comments":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/statuses/2fda2c2cb8cdb924219bb8e913c00ef742d8525e"}}}}