[hibernate-commits] [hibernate/hibernate-ogm] 88e3d9: OGM-1344 Add test for bidirectional one-to-one on ...
GitHub
noreply at github.com
Fri Dec 15 09:58:22 EST 2017
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-ogm
Commit: 88e3d91ab97e0e0cf347db353465ec58857c17bc
https://github.com/hibernate/hibernate-ogm/commit/88e3d91ab97e0e0cf347db353465ec58857c17bc
Author: Davide D'Alto <davide at hibernate.org>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
A core/src/test/java/org/hibernate/ogm/backendtck/associations/recursive/Coach.java
A core/src/test/java/org/hibernate/ogm/backendtck/associations/recursive/TrainCoachesTest.java
Log Message:
-----------
OGM-1344 Add test for bidirectional one-to-one on the same entity type
Commit: be29b44b09126c9c991e6b1e22e2e9cf21f5c936
https://github.com/hibernate/hibernate-ogm/commit/be29b44b09126c9c991e6b1e22e2e9cf21f5c936
Author: Davide D'Alto <davide at hibernate.org>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/remote/http/json/impl/Graph.java
Log Message:
-----------
OGM-1344 Add equals and hashcode to Graph class for http dialect
Commit: 6f231333b3632032a20680ff94458c0c3fadb72c
https://github.com/hibernate/hibernate-ogm/commit/6f231333b3632032a20680ff94458c0c3fadb72c
Author: Davide D'Alto <davide at hibernate.org>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/dialect/impl/BaseNeo4jEntityQueries.java
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/remote/bolt/dialect/impl/BoltNeo4jEntityQueries.java
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/remote/http/dialect/impl/HttpNeo4jEntityQueries.java
Log Message:
-----------
OGM-1344 Improve queries performance for getTuple() on Neo4j
The previous query could potentially expands all the nodes even if
unecessary.
As an example, this commit change the following query
MATCH (owner:ENTITY:Coach {number: 250})
OPTIONAL MATCH (owner) -[r*]->(emb:EMBEDDED)
RETURN owner, r
to
MATCH (owner:ENTITY:Coach {number: 250})
OPTIONAL MATCH (owner) -[r]->(emb:EMBEDDED)
OPTIONAL MATCH (emb) -[r2*]->(emb_2:EMBEDDED)
RETURN owner, r, emb, r2, emb_2
Commit: f4a6fcde8d1a988cecf70163271c83400baf66b8
https://github.com/hibernate/hibernate-ogm/commit/f4a6fcde8d1a988cecf70163271c83400baf66b8
Author: Davide D'Alto <davide at hibernate.org>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M neo4j/src/main/java/org/hibernate/ogm/datastore/neo4j/remote/bolt/dialect/impl/BoltNeo4jEntityQueries.java
Log Message:
-----------
OGM-1344 Use functional approach for the creation of the embedded nodes collection for a path
Compare: https://github.com/hibernate/hibernate-ogm/compare/f253c2943c3f...f4a6fcde8d1a
More information about the hibernate-commits
mailing list