6.2.0
What's Changed
This is quite a big release, as from 6.2.0 onwards both the Neo4j JDBC Driver and the Neo4j Java driver will use the exact same network stack, so both drivers will equally benefit from enhancements there.
Tip
This minor release bump is fully API compatible with 6.1.5, we bumped the version for the following reasons:
The SQL Translator now aliases projected column in such a way that they can be retrieved like they have been originally project:
SELECT title FROM Movie
will now be translated into MATCH (movie:Movie) RETURN movie.title AS title
This is in line with the asterisk projection, too, but only available if there's only one relation in the FROM clause.
The ResultSet
implementation is more lenient when being asked for String
values and follows the JDBC spec that
will just use the Java representation of a non-string projection.
The Connection
implementation is more lenient on commit and rollback, so that these operations are idempotent in case
there is no ongoing transaction or a transaction that is either already committed or rolled back.
🐛 Bug Fixes
🔄️ Refactorings
- b1db4b2 refactor: Try to convert strings to integers and floats if possible.
- c7ee637 refactor: Try to use Java
toString
representation on non-string results when usinggetString()
. - e06311f refactor(translator): Use
AS
to give results same name if there’s a single source table and no qualified names are expected. - 0d27cd4 refactor(metadata): Use separate (bolt) connection for metadata.
- c9bb99c refactor(metadata): Improve transaction handling in metadata. (#877)
- 0306bf1 refactor: Replace custom bolt stack with shared bolt connection module. (#832)
📝 Documentation
- 27b6734 docs: Update local changelog.
🧹 Housekeeping
- 60b9604 Bump org.testcontainers:testcontainers-bom (#875)
- a1fa305 Bump quarkus.platform.version from 3.19.1 to 3.19.2 (#874)
- 9da051b Bump org.mockito:mockito-bom from 5.15.2 to 5.16.0 (#873)
- e00d760 Bump org.apache.maven.plugins:maven-install-plugin (#872)
- 5bb8953 Bump org.hibernate.orm:hibernate-platform (#871)
- 7842b2a Bump com.puppycrawl.tools:checkstyle (#870)