Skip to content

Commit fb1c9fd

Browse files
Fix the OGM page (#431)
* Fix the OGM page * Apply suggestions from code review Co-authored-by: Lidia Zuin <102308961+lidiazuin@users.noreply.github.com> * Update neo4j-ogm.adoc * Fix the list syntax --------- Co-authored-by: Lidia Zuin <102308961+lidiazuin@users.noreply.github.com>
1 parent 29e1791 commit fb1c9fd

File tree

1 file changed

+46
-7
lines changed

1 file changed

+46
-7
lines changed

modules/ROOT/pages/languages-guides/java/neo4j-ogm.adoc

Lines changed: 46 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ You should have link:{aura_signup}[created an Neo4j AuraDB cloud instance], or l
1313
[#neo4j-ogm]
1414
== Neo4j-OGM
1515

16-
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/master/neo4j-ogm-docs/src/main/asciidoc/introduction/index.adoc[lines=25..32,leveloffset=+1]
16+
* Version control - https://github.com/neo4j/neo4j-ogm
17+
18+
* Bug tracker - https://github.com/neo4j/neo4j-ogm/issues
1719
1820
[#ogm-features]
1921
== Features
@@ -87,21 +89,58 @@ You will find the implementations for all drivers as https://github.com/neo4j-ex
8789
[#ogm-faq]
8890
== FAQ
8991

90-
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/master/neo4j-ogm-docs/src/main/asciidoc/appendix/faq.adoc[lines=3..-1,leveloffset=+1]
92+
What is the difference between Neo4j-OGM and Spring Data Neo4j (SDN)?::
93+
Spring Data Neo4j (SDN) up to version 5.3.x uses Neo4j-OGM under the covers.
94+
It’s like Spring Data JPA, where JPA/Hibernate is the underlay.
95+
+
96+
Most of the power of SDN actually comes from Neo4j-OGM.
97+
However, starting with Spring Data Neo4j 6.x (Spring Boot 2.4), Neo4j-OGM is not needed anymore.
98+
+
99+
Please note that, intentionally, Neo4j-OGM 4+ does not work as a drop-in replacement for Spring Data 5.x.
100+
101+
102+
How are labels generated when using inheritance?::
103+
All concrete classes generate a label, but abstract classes and interfaces not.
104+
If any kind of class or interface gets annotated with `@NodeEntity` or `@NodeEntity(label="customLabel")`, it will generate a label.
105+
Any class annotated with `@Transient` will not generate a label.
91106

92107
[#ogm-resources]
93108
== Resources
94109

95-
:maven-ogm: http://search.maven.org/#search|ga|1|a%3A%22neo4j-ogm%22
110+
link:https://search.maven.org/#search|ga|1|a%3A%22neo4j-ogm%22[Neo4j OGM]
96111

97112
[cols="1,4"]
98113
|===
99114
| icon:user[] Authors | The Neo4j and http://graphaware.com/neo4j-experts/[GraphAware Teams]
100-
| icon:gift[] Package | link:{maven-ogm}[http://maven.org]
115+
| icon:gift[] Package | link:https://central.sonatype.com/artifact/org.neo4j/neo4j-ogm[neo4j-ogm]
101116
| icon:github[] Source | https://github.com/neo4j/neo4j-ogm
102117
| icon:book[] Docs | https://neo4j.com/docs/ogm-manual/current/
103118
|===
104119

105-
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/master/README.adoc[lines=1]
106-
:ogm-version: {version}
107-
include::https://raw.githubusercontent.com/neo4j/neo4j-ogm/master/neo4j-ogm-docs/src/main/asciidoc/reference/getting-started.adoc[lines=3..-1,leveloffset=+1]
120+
== Compatibility
121+
122+
Check the table to determine which version of Neo4j-OGM to use with a particular version of Neo4j and related technologies:
123+
124+
[frame="topbot",options="header"]
125+
|======================
126+
|Neo4j-OGM Version |Neo4j Version^1^
127+
|4.0.x^2^ |4.4.x^6^, 5.x
128+
|3.2.x |3.2.x, 3.3.x, 3.4.x, 3.5.x, 4.0.x^2^, 4.1.x^2^, 4.2.x^2^, 4.3.x^2,5^, 4.4.x^2,5^
129+
|3.1.x^3^ |3.1.x, 3.2.x, 3.3.x, 3.4.x
130+
|3.0.x^3^ |3.1.9, 3.2.12, 3.3.4, 3.4.4
131+
|2.1.x^4^ |2.3.9, 3.0.11, 3.1.6
132+
|2.0.2^4^ |2.3.8, 3.0.7
133+
|2.0.1^4^ |2.2.x, 2.3.x
134+
|======================
135+
136+
^1^ __The latest supported bugfix versions.__ +
137+
138+
^2^ __Only supports connections via Bolt.__ +
139+
140+
^3^ __No longer actively developed.__ +
141+
142+
^4^ __No longer actively developed or supported.__ +
143+
144+
^5^ __Neo4j-OGM 3.2.24+ only.__ +
145+
146+
^6^ __Technically working, but not officially supported__ +

0 commit comments

Comments
 (0)