You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/appendix/build.adoc
+13-14
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,20 @@
4
4
[[building-SDN.requirements]]
5
5
== Requirements
6
6
7
-
* JDK 8+ (Can be https://openjdk.java.net[OpenJDK] or https://www.oracle.com/technetwork/java/index.html[Oracle JDK])
8
-
* Maven 3.6.2 (We provide the Maven wrapper, see `mvnw` respectively `mvnw.cmd` in the project root; the wrapper downloads the appropriate Maven version automatically)
9
-
* A Neo4j 3.5.+ database, either
7
+
* JDK 17+ (Can be https://openjdk.java.net[OpenJDK] or https://www.oracle.com/technetwork/java/index.html[Oracle JDK])
8
+
* Maven 3.8.5 (We provide the Maven wrapper, see `mvnw` respectively `mvnw.cmd` in the project root; the wrapper downloads the appropriate Maven version automatically)
9
+
* A Neo4j 5.+ database, either
10
10
** running locally
11
11
** or indirectly via https://www.testcontainers.org[Testcontainers] and https://www.docker.com[Docker]
12
12
13
13
[[building-SDN.jdk.version]]
14
14
=== About the JDK version
15
15
16
-
Choosing JDK 8 is a decision influenced by various aspects
16
+
Choosing JDK 17 is a decision influenced by various aspects
17
17
18
18
* SDN is a Spring Data project.
19
-
Spring Data commons baseline is still JDK 8 and so is Spring Framework's baseline.
20
-
Thus, it is only natural to keep the JDK 8 baseline.
21
-
* While there is an increase of projects started with JDK 11 (which is Oracle's current LTS release of Java), many existing projects are still on JDK 8. We don't want to lose them as users right from the start.
19
+
Spring Data commons baseline is JDK 17 and so is Spring Framework's baseline.
20
+
Thus, it is only natural to keep the JDK 17 baseline.
22
21
23
22
[[building-SDN.running-the-build]]
24
23
== Running the build
@@ -42,9 +41,9 @@ The output should be similar:
42
41
.Verify your JDK
43
42
----
44
43
$ java -version
45
-
java version "12.0.1" 2019-04-16
46
-
Java(TM) SE Runtime Environment (build 12.0.1+12)
47
-
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
44
+
java version "18.0.1" 2022-04-19
45
+
Java(TM) SE Runtime Environment (build 18.0.1+10-24)
46
+
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1+10-24, mixed mode, sharing)
48
47
----
49
48
50
49
[[building-SDN.docker]]
@@ -85,10 +84,10 @@ The image version to use can be configured through an environmental variable lik
NOTE: Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
Copy file name to clipboardExpand all lines: src/main/asciidoc/introduction-and-preface/preface-sdn.adoc
+2-2
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,11 @@ All of them provide integration with Spring's application level transactions.
35
35
On a lower level, you can grab the Bolt driver instance, but than you have to manage your own transactions in these cases.
36
36
37
37
NOTE: You still can use Neo4j-OGM, even in modern Spring Boot applications.
38
-
But you *cannot* use it with SDN 6.
38
+
But you *cannot* use it with SDN 6+.
39
39
If you tried you would have two different sets of entities in two different - and unrelated - persistence context.
40
40
Hence, if you want to stick to Neo4j-OGM 3.2.x, you would use the Java driver instantiated by Spring Boot and pass it onto a Neo4j-OGM session.
41
41
Neo4j-OGM 3.2.x is still supported, and we recommend its use in frameworks such as Quarkus.
42
-
In a Spring Boot application however your primary choice should be SDN 6.
42
+
In a Spring Boot application however your primary choice should be SDN.
43
43
44
44
Please make sure you read the <<faq, Frequently Asked Questions>> where we address many reoccurring questions about our mapping decisions but also how interaction with Neo4j cluster instances such as https://neo4j.com/cloud/platform/aura-graph-database/[Neo4j AuraDB] and on-premise cluster deployments can be significantly improved.
0 commit comments