Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.neo4j.bolt.connection.BoltAgent;
import org.neo4j.bolt.connection.BoltConnectionProvider;
import org.neo4j.bolt.connection.BoltConnectionSource;
import org.neo4j.bolt.connection.BoltProtocolVersion;
import org.neo4j.bolt.connection.BoltServerAddress;
import org.neo4j.bolt.connection.DefaultDomainNameResolver;
import org.neo4j.bolt.connection.DomainNameResolver;
Expand Down Expand Up @@ -389,6 +390,7 @@ protected BoltConnectionProvider createBoltConnectionProvider(
if (localAddress != null) {
additionalConfig.put("localAddress", localAddress);
}
additionalConfig.put("maxVersion", new BoltProtocolVersion(5, 8));
return new NettyBoltConnectionProviderFactory()
.create(loggingProvider, BoltValueFactory.getInstance(), null, additionalConfig);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@ public Value point(int srid, double x, double y, double z) {
return ((InternalValue) Values.point(srid, x, y, z));
}

@Override
public Value vector(Class<?> elementType, Object elements) {
throw new UnsupportedOperationException("Vector is not supported");
}

@Override
public Value unsupportedDateTimeValue(DateTimeException e) {
return new UnsupportedDateTimeValue(e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.util.Map;
import org.neo4j.bolt.connection.values.IsoDuration;
import org.neo4j.bolt.connection.values.Point;
import org.neo4j.bolt.connection.values.Vector;
import org.neo4j.driver.Value;
import org.neo4j.driver.exceptions.value.Uncoercible;
import org.neo4j.driver.internal.AsValue;
Expand Down Expand Up @@ -83,4 +84,9 @@ public org.neo4j.bolt.connection.values.Value next() {
default Map<String, org.neo4j.bolt.connection.values.Value> asBoltMap() {
return asMap(value -> (org.neo4j.bolt.connection.values.Value) value);
}

@Override
default Vector asBoltVector() {
throw new UnsupportedOperationException("Vector is not supported");
}
}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<maven.deploy.skip>true</maven.deploy.skip>

<!-- Versions -->
<neo4j-bolt-connection-bom.version>5.0.0</neo4j-bolt-connection-bom.version>
<neo4j-bolt-connection-bom.version>6.0.1</neo4j-bolt-connection-bom.version>
<reactive-streams.version>1.0.4</reactive-streams.version>
<!-- Please note that when updating this dependency -->
<!-- (i.e. due to a security vulnerability or bug) that the -->
Expand Down Expand Up @@ -61,7 +61,7 @@
<svm.version>24.2.1</svm.version>
<micrometer.version>1.15.1</micrometer.version>
<blockhound.version>1.0.13.RELEASE</blockhound.version>
<testcontainers.version>1.21.2</testcontainers.version>
<testcontainers.version>1.21.3</testcontainers.version>
<build-resources.version>2024-12.1</build-resources.version>
<!-- To be overwritten by child projects -->
<moduleName/>
Expand Down