Skip to content

Commit b5a3f13

Browse files
committed
feat(queryapi): add support for TransactionType.UNCONSTRAINED
This update brings support for `TransactionType.UNCONSTRAINED` in `BEGIN` message handling.
1 parent 1c798b5 commit b5a3f13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

neo4j-bolt-connection-query-api/src/main/java/org/neo4j/bolt/connection/query_api/impl/BeginMessageHandler.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import org.neo4j.bolt.connection.AccessMode;
2727
import org.neo4j.bolt.connection.LoggingProvider;
2828
import org.neo4j.bolt.connection.ResponseHandler;
29-
import org.neo4j.bolt.connection.TransactionType;
3029
import org.neo4j.bolt.connection.exception.BoltClientException;
3130
import org.neo4j.bolt.connection.message.BeginMessage;
3231
import org.neo4j.bolt.connection.values.ValueFactory;
@@ -55,9 +54,6 @@ final class BeginMessageHandler extends AbstractMessageHandler<TransactionInfo>
5554
throw new BoltClientException("Database name must be specified");
5655
}
5756

58-
if (message.transactionType() != TransactionType.DEFAULT) {
59-
throw new BoltClientException("Only TransactionType.DEFAULT is supported");
60-
}
6157
try {
6258
this.bodyPublisher = newHttpRequestBodyPublisher(httpContext, message, this.databaseName);
6359
} catch (IOException e) {

0 commit comments

Comments
 (0)