-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
783d95f
commit 2c8056f
Showing
5 changed files
with
104 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ Michael Simons <[email protected]> | |
// tag::properties[] | ||
:groupId: org.neo4j | ||
:artifactIdCore: neo4j-jdbc | ||
:latest_version: 6.0.0-SNAPSHOT | ||
:branch: main | ||
// end::properties[] | ||
|
||
|
@@ -32,8 +33,28 @@ image:https://sonar.neo4j.ninja/api/project_badges/measure?project=neo4j-jdbc&to | |
|
||
== Download | ||
|
||
The Maven coordinates in the documentation and corresponding README are not yet live. | ||
In the meantime you can grab a packaged binary from the https://github.com/neo4j/neo4j-jdbc/releases/tag/early-access[early access release page], which will be actively updated. | ||
=== Include in a Maven build | ||
|
||
[source,xml,subs="verbatim,attributes"] | ||
---- | ||
<dependency> | ||
<groupId>{groupId}</groupId> | ||
<artifactId>{artifactIdCore}-full-bundle</artifactId> | ||
<version>{latest_version}</version> | ||
</dependency> | ||
---- | ||
|
||
=== Include in a Gradle build | ||
|
||
[source,groovy,subs="verbatim,attributes"] | ||
---- | ||
dependencies { | ||
implementation '{groupId}:{artifactIdCore}-full-bundle:{latest_version}' | ||
} | ||
---- | ||
|
||
All https://github.com/neo4j/neo4j-jdbc/releases/[releases] from 6.0 onwards contain a zipped version of the driver, including a PDF version of the manual. | ||
We offer several distributions, please have a look http://neo4j.github.io/neo4j-jdbc/${latest_version}/#_distribution[here] for more details. | ||
If you feel adventurous, grab the code and build the driver yourself. | ||
You find the instructions in our link:CONTRIBUTING.adoc[contribution documentation]. | ||
|
||
|
@@ -92,7 +113,7 @@ In case of https://quarkus.io[Quarkus] the Neo4j JDBC Driver is an option to con | |
|
||
While there is little incentive to use this driver with Hibernate (https://github.com/neo4j/neo4j-ogm[Neo4j-OGM] or SDN are the better alternatives for Neo4j), it might be worth giving https://spring.io/projects/spring-data-jdbc/[Spring Data JDBC] a try. | ||
|
||
=== Differences to the previous versionsof this driver and other JDBC drivers for Neo4j | ||
=== Differences to the previous versions of this driver and other JDBC drivers for Neo4j | ||
|
||
Several other JDBC drivers exists for Neo4j, most notably the previous versions 4 and 5 of this driver, originally developed by http://larus-ba.it/[Larus BA, Italy] for Neo4j. | ||
Most—if not all of them—do wrap the common Neo4j Java Driver and implement the JDBC spec on top of that. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright (c) 2023-2024 "Neo4j," | ||
# Neo4j Sweden AB [https://neo4j.com] | ||
# | ||
# This file is part of Neo4j. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
|
||
set -euo pipefail | ||
DIR="$(dirname "$(realpath "$0")")" | ||
|
||
sed -i.bak 's/\(:latest_version:\) \(.*\)/\1 '"${1}"'/g' $DIR/../README.adoc | ||
|
||
rm $DIR/../README.adoc.bak | ||
|
||
if test -n "${2-}"; then | ||
DRYRUN=$2 | ||
else | ||
DRYRUN='false' | ||
fi | ||
|
||
if [ "$DRYRUN" != "true" ]; then | ||
git add $DIR/../README.adoc | ||
git commit -m "[maven-release-plugin] update README.adoc" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters