{"action":"created","comment":{"url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/comments/52907088","id":52907088,"diff_hunk":"@@ -0,0 +1,280 @@\n+/*\n+ * Hibernate OGM, Domain model persistence for NoSQL datastores\n+ *\n+ * License: GNU Lesser General Public License (LGPL), version 2.1 or later\n+ * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.\n+ */\n+package org.hibernate.datastore.ogm.orientdb;\n+\n+import com.orientechnologies.orient.core.id.ORecordId;\n+import java.util.List;\n+import java.util.logging.Level;\n+import java.util.logging.Logger;\n+import javax.persistence.EntityManager;\n+import javax.persistence.EntityManagerFactory;\n+import javax.persistence.FlushModeType;\n+import javax.persistence.Persistence;\n+import javax.persistence.Query;\n+import org.apache.log4j.BasicConfigurator;\n+import org.hibernate.datastore.ogm.orientdb.jpa.Customer;\n+import org.hibernate.datastore.ogm.orientdb.jpa.Pizza;\n+import org.hibernate.datastore.ogm.orientdb.util.MemoryDBUtil;\n+import org.junit.After;\n+import org.junit.AfterClass;\n+import org.junit.Before;\n+import org.junit.BeforeClass;\n+import org.junit.Test;\n+import static org.junit.Assert.*;\n+import org.junit.FixMethodOrder;\n+import org.junit.runners.MethodSorters;\n+\n+/**\n+ * Test checks CRUD for simple entities (without links with other entities)\n+ * \n+ * @author Sergey Chernolyas (sergey.chernolyas@gmail.com)\n+ */\n+@FixMethodOrder(MethodSorters.NAME_ASCENDING)\n+public class OrientDBSimpleTest {\n+\n+\tprivate static final Logger LOG = Logger.getLogger( OrientDBSimpleTest.class.getName() );\n+\tprivate static EntityManager em;\n+\tprivate static EntityManagerFactory emf;\n+\n+\t@BeforeClass\n+\tpublic static void setUpClass() {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\t// MemoryDBUtil.prepareDb(\"remote:localhost/pizza\");\n+\t\tMemoryDBUtil.createDbFactory( \"memory:test\" );\n+\t\tBasicConfigurator.configure();\n+\t\temf = Persistence.createEntityManagerFactory( \"hibernateOgmJpaUnit\" );\n+\t\tem = emf.createEntityManager();\n+\t\tem.setFlushMode( FlushModeType.COMMIT );\n+\n+\t}\n+\n+\t@AfterClass\n+\tpublic static void tearDownClass() {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\tif ( em != null ) {\n+\t\t\tem.close();\n+\t\t\temf.close();\n+\n+\t\t}\n+\t\tMemoryDBUtil.getOrientGraphFactory().close();\n+\t}\n+\n+\t@Before\n+\tpublic void setUp() {\n+\t}\n+\n+\t@After\n+\tpublic void tearDown() {\n+\t\tem.clear();\n+\t}\n+\n+\t@Test\n+\tpublic void test1InsertNewCustomer() throws Exception {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\ttry {\n+\t\t\tem.getTransaction().begin();\n+\t\t\tCustomer newCustomer = new Customer();\n+\t\t\tnewCustomer.setName( \"test\" );\n+\t\t\tLOG.log( Level.INFO, \"New Customer ready for  persit\" );\n+\t\t\tem.persist( newCustomer );\n+\t\t\tem.flush();\n+\t\t\tQuery query = em.createNativeQuery( \"select from Customer where name=:name\", Customer.class );\n+\t\t\tquery.setParameter( \"name\", \"test\" );\n+\t\t\tList<Customer> customers = query.getResultList();\n+\t\t\tLOG.log( Level.INFO, \"customers.size(): {0}\", customers.size() );\n+\t\t\tassertFalse( \"Customers must be\", customers.isEmpty() );\n+\t\t\tCustomer testCustomer = customers.get( 0 );\n+\t\t\tassertNotNull( \"Customer with 'test' must be saved!\", testCustomer );\n+\t\t\tem.getTransaction().commit();\n+\t\t}\n+\t\tcatch (Exception e) {\n+\t\t\tLOG.log( Level.SEVERE, \"Error\", e );\n+\t\t\tem.getTransaction().rollback();\n+\t\t\tthrow e;\n+\t\t}\n+\t}\n+\n+\t@Test\n+\tpublic void test1InsertNewPizza() throws Exception {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\ttry {\n+\t\t\tem.getTransaction().begin();\n+\t\t\tPizza newPizza = new Pizza();\n+\t\t\tnewPizza.setName( \"Marinero\" );\n+\t\t\tLOG.log( Level.INFO, \"New Pizza ready for  persit\" );\n+\t\t\tem.persist( newPizza );\n+\t\t\tem.flush();\n+\t\t\tQuery query = em.createNativeQuery( \"select from Pizza where name=:name\", Pizza.class );\n+\t\t\tquery.setParameter( \"name\", \"Marinero\" );\n+\t\t\tList<Pizza> pizzaList = query.getResultList();\n+\t\t\tLOG.log( Level.INFO, \"pizzaList.size(): {0}\", pizzaList.size() );\n+\t\t\tassertFalse( \"pizzaList must be not empty!\", pizzaList.isEmpty() );\n+\t\t\tPizza testPizza = pizzaList.get( 0 );\n+\t\t\tassertNotNull( \"Pizza with 'Marinero' must be saved!\", testPizza );\n+\t\t\tem.getTransaction().commit();\n+\t\t}\n+\t\tcatch (Exception e) {\n+\t\t\tLOG.log( Level.SEVERE, \"Error\", e );\n+\t\t\tem.getTransaction().rollback();\n+\t\t\tthrow e;\n+\t\t}\n+\t}\n+\n+\t@Test\n+\tpublic void test2FindCustomer() {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\ttry {\n+\t\t\tem.getTransaction().begin();\n+\t\t\tCustomer customer = em.find( Customer.class, Long.valueOf( 2L ) );\n+\t\t\tem.refresh( customer );\n+\t\t\tLOG.log( Level.INFO, \"read entity properties:\" );\n+\t\t\tLOG.log( Level.INFO, \"customer.getbKey():{0}\", customer.getbKey() );\n+\t\t\tLOG.log( Level.INFO, \"customer.getName(): {0}\", customer.getName() );\n+\t\t\tLOG.log( Level.INFO, \"customer.getRid(): {0}\", customer.getRid() );\n+\t\t\tassertEquals( Long.valueOf( 2L ), customer.getbKey() );\n+\t\t\tassertNotNull( customer.getRid() );\n+\t\t}\n+\t\tfinally {\n+\t\t\tem.getTransaction().commit();\n+\t\t}\n+\t}\n+\n+\t@Test\n+\tpublic void test2FindPizza() {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\ttry {\n+\t\t\tem.getTransaction().begin();\n+\t\t\tPizza pizza = em.find( Pizza.class, Long.valueOf( 2L ) );\n+\t\t\tem.refresh( pizza );\n+\t\t\tLOG.log( Level.INFO, \"read entity properties:\" );\n+\t\t\tLOG.log( Level.INFO, \"pizza.getBKey():{0}\", pizza.getbKey() );\n+\t\t\tLOG.log( Level.INFO, \"pizza.getName(): {0}\", pizza.getName() );\n+\t\t\tLOG.log( Level.INFO, \"pizza.getbKey(): {0}\", pizza.getbKey() );\n+\t\t\tassertEquals( Long.valueOf( 2L ), pizza.getbKey() );\n+\t\t\tassertNotNull( pizza.getRid() );\n+\t\t}\n+\t\tfinally {\n+\t\t\tem.getTransaction().commit();\n+\t\t}\n+\n+\t}\n+\n+\t@Test\n+\tpublic void test3CreateNativeQuery() {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\ttry {\n+\t\t\tem.getTransaction().begin();\n+\t\t\tLOG.log( Level.INFO, \"query: select from Customer\" );\n+\t\t\tQuery query = em.createNativeQuery( \"select from Customer\", Customer.class );\n+\t\t\tList<Customer> customers = query.getResultList();\n+\t\t\tassertFalse( \"Customers must be\", customers.isEmpty() );\n+\t\t\tassertEquals( Long.valueOf( 2L ), customers.get( 0 ).getbKey() );\n+\n+\t\t\tLOG.log( Level.INFO, \"query: select from {0}\", customers.get( 0 ).getRid().toString() );\n+\t\t\tquery = em.createNativeQuery( \"select from \" + customers.get( 0 ).getRid().toString(), Customer.class );\n+\t\t\tcustomers = query.getResultList();\n+\t\t\tassertFalse( \"Customers must be\", customers.isEmpty() );\n+\n+\t\t\tLOG.log( Level.INFO, \"query: select from Customer where name=:name\" );\n+\t\t\tquery = em.createNativeQuery( \"select from Customer where name=:name\", Customer.class );\n+\t\t\tquery.setParameter( \"name\", \"test\" );\n+\t\t\tcustomers = query.getResultList();\n+\t\t\tassertFalse( \"Customers must be\", customers.isEmpty() );\n+\n+\t\t\tLOG.log( Level.INFO, \"query: select from Customer where name='test'\" );\n+\t\t\tquery = em.createNativeQuery( \"select from Customer where name='test'\", Customer.class );\n+\t\t\tcustomers = query.getResultList();\n+\t\t\tassertFalse( \"Customers must be\", customers.isEmpty() );\n+\n+\t\t}\n+\t\tfinally {\n+\t\t\tem.getTransaction().commit();\n+\t\t}\n+\n+\t}\n+\n+\t@Test\n+\tpublic void test4UpdateCustomer() {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\ttry {\n+\t\t\tem.getTransaction().begin();\n+\t\t\tLong id = Long.valueOf( 2L );\n+\t\t\tCustomer customer = em.find( Customer.class, id );\n+\t\t\tcustomer.setName( \"Ivahoe\" );\n+\t\t\tint oldVersion = customer.getVersion();\n+\t\t\tLOG.log( Level.INFO, \"old version:{0}\", oldVersion );\n+\t\t\tem.merge( customer );\n+\t\t\tem.flush();\n+\t\t\tCustomer newCustomer = em.find( Customer.class, id );\n+\t\t\tassertNotNull( \"Must not be null\", newCustomer );\n+\t\t\tassertEquals( customer.getRid(), newCustomer.getRid() );\n+\t\t\tassertEquals( \"Ivahoe\", newCustomer.getName() );\n+\t\t\tint newVersion = newCustomer.getVersion();\n+\t\t\tLOG.log( Level.INFO, \"new version:{0}\", newVersion );\n+\t\t\tassertTrue( \"Version must be chanched\", ( newVersion > oldVersion ) );\n+\t\t\tem.getTransaction().commit();\n+\t\t}\n+\t\tcatch (Exception e) {\n+\t\t\tLOG.log( Level.SEVERE, \"Error\", e );\n+\t\t\tem.getTransaction().rollback();\n+\t\t\tthrow e;\n+\t\t}\n+\t}\n+\n+\t@Test\n+\tpublic void test5RefreshCustomer() {\n+\t\tLOG.log( Level.INFO, \"start\" );\n+\t\ttry {\n+\t\t\tem.getTransaction().begin();\n+\t\t\tLong id = Long.valueOf( 2L );\n+\t\t\tCustomer customer = em.find( Customer.class, id );\n+\t\t\tLOG.log( Level.INFO, \"old rid:{0}\", customer.getRid() );\n+\t\t\tORecordId oldRid = customer.getRid();\n+\t\t\tem.refresh( customer );","path":"orientdb/src/test/java/org/hibernate/datastore/ogm/orientdb/OrientDBSimpleTest.java","position":237,"original_position":237,"commit_id":"49f0ff9df936932908a1e46186a985669044cf6c","original_commit_id":"49f0ff9df936932908a1e46186a985669044cf6c","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":"THis is not needed","created_at":"2016-02-15T14:51:52Z","updated_at":"2016-02-15T14:51:52Z","html_url":"https://github.com/DavideD/hibernate-ogm/pull/8#discussion_r52907088","pull_request_url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/comments/52907088"},"html":{"href":"https://github.com/DavideD/hibernate-ogm/pull/8#discussion_r52907088"},"pull_request":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/8","id":59261337,"html_url":"https://github.com/DavideD/hibernate-ogm/pull/8","diff_url":"https://github.com/DavideD/hibernate-ogm/pull/8.diff","patch_url":"https://github.com/DavideD/hibernate-ogm/pull/8.patch","issue_url":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/8","number":8,"state":"open","locked":false,"title":"Last changes","user":{"login":"schernolyas","id":9314123,"avatar_url":"https://avatars.githubusercontent.com/u/9314123?v=3","gravatar_id":"","url":"https://api.github.com/users/schernolyas","html_url":"https://github.com/schernolyas","followers_url":"https://api.github.com/users/schernolyas/followers","following_url":"https://api.github.com/users/schernolyas/following{/other_user}","gists_url":"https://api.github.com/users/schernolyas/gists{/gist_id}","starred_url":"https://api.github.com/users/schernolyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schernolyas/subscriptions","organizations_url":"https://api.github.com/users/schernolyas/orgs","repos_url":"https://api.github.com/users/schernolyas/repos","events_url":"https://api.github.com/users/schernolyas/events{/privacy}","received_events_url":"https://api.github.com/users/schernolyas/received_events","type":"User","site_admin":false},"body":"All my changes.\r\nMerge and rebase with main 'hibernate/hibernate-orm' included\r\n\r\nPlease see to tests:\r\n1) org.hibernate.datastore.ogm.orientdb.OrientDbAssociationTest\r\n2) org.hibernate.datastore.ogm.orientdb.OrientDBSimpleTest","created_at":"2016-02-13T07:17:57Z","updated_at":"2016-02-15T14:51:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73ca8183ed253056ad9c3a21981340eb8dbcf2fc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/8/commits","review_comments_url":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/8/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/8/comments","statuses_url":"https://api.github.com/repos/DavideD/hibernate-ogm/statuses/49f0ff9df936932908a1e46186a985669044cf6c","head":{"label":"schernolyas:master","ref":"master","sha":"49f0ff9df936932908a1e46186a985669044cf6c","user":{"login":"schernolyas","id":9314123,"avatar_url":"https://avatars.githubusercontent.com/u/9314123?v=3","gravatar_id":"","url":"https://api.github.com/users/schernolyas","html_url":"https://github.com/schernolyas","followers_url":"https://api.github.com/users/schernolyas/followers","following_url":"https://api.github.com/users/schernolyas/following{/other_user}","gists_url":"https://api.github.com/users/schernolyas/gists{/gist_id}","starred_url":"https://api.github.com/users/schernolyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schernolyas/subscriptions","organizations_url":"https://api.github.com/users/schernolyas/orgs","repos_url":"https://api.github.com/users/schernolyas/repos","events_url":"https://api.github.com/users/schernolyas/events{/privacy}","received_events_url":"https://api.github.com/users/schernolyas/received_events","type":"User","site_admin":false},"repo":{"id":48686618,"name":"hibernate-ogm","full_name":"schernolyas/hibernate-ogm","owner":{"login":"schernolyas","id":9314123,"avatar_url":"https://avatars.githubusercontent.com/u/9314123?v=3","gravatar_id":"","url":"https://api.github.com/users/schernolyas","html_url":"https://github.com/schernolyas","followers_url":"https://api.github.com/users/schernolyas/followers","following_url":"https://api.github.com/users/schernolyas/following{/other_user}","gists_url":"https://api.github.com/users/schernolyas/gists{/gist_id}","starred_url":"https://api.github.com/users/schernolyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schernolyas/subscriptions","organizations_url":"https://api.github.com/users/schernolyas/orgs","repos_url":"https://api.github.com/users/schernolyas/repos","events_url":"https://api.github.com/users/schernolyas/events{/privacy}","received_events_url":"https://api.github.com/users/schernolyas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schernolyas/hibernate-ogm","description":"Hibernate Object/Grid Mapper","fork":true,"url":"https://api.github.com/repos/schernolyas/hibernate-ogm","forks_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/forks","keys_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/teams","hooks_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/hooks","issue_events_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/issues/events{/number}","events_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/events","assignees_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/assignees{/user}","branches_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/branches{/branch}","tags_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/tags","blobs_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/git/refs{/sha}","trees_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/statuses/{sha}","languages_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/languages","stargazers_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/stargazers","contributors_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/contributors","subscribers_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/subscribers","subscription_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/subscription","commits_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/commits{/sha}","git_commits_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/git/commits{/sha}","comments_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/comments{/number}","issue_comment_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/issues/comments{/number}","contents_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/contents/{+path}","compare_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/merges","archive_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/downloads","issues_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/issues{/number}","pulls_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/pulls{/number}","milestones_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/milestones{/number}","notifications_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/labels{/name}","releases_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/releases{/id}","deployments_url":"https://api.github.com/repos/schernolyas/hibernate-ogm/deployments","created_at":"2015-12-28T10:10:36Z","updated_at":"2016-02-10T09:25:59Z","pushed_at":"2016-02-13T08:08:43Z","git_url":"git://github.com/schernolyas/hibernate-ogm.git","ssh_url":"git@github.com:schernolyas/hibernate-ogm.git","clone_url":"https://github.com/schernolyas/hibernate-ogm.git","svn_url":"https://github.com/schernolyas/hibernate-ogm","homepage":"http://hibernate.org/ogm/","size":12214,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"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":"2015-03-13T16:10:18Z","pushed_at":"2016-02-15T11:00:52Z","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":13283,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/8"},"html":{"href":"https://github.com/DavideD/hibernate-ogm/pull/8"},"issue":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/8"},"comments":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/pulls/8/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/8/commits"},"statuses":{"href":"https://api.github.com/repos/DavideD/hibernate-ogm/statuses/49f0ff9df936932908a1e46186a985669044cf6c"}}}}