Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Db2 #1555

Merged
merged 9 commits into from
Apr 4, 2023
Merged

Add Db2 #1555

merged 9 commits into from
Apr 4, 2023

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Apr 4, 2023

Fix #1550

I had to disable some tests because of eclipse-vertx/vertx-sql-client#1303 and eclipse-vertx/vertx-sql-client#899
@tsegismont, do you have time to have a look at these? ^

Even with the errors, I think we can merge this.
I will keep track of the disabled tests with separate issues.

@DavideD DavideD marked this pull request as ready for review April 4, 2023 16:12
DavideD added 4 commits April 4, 2023 17:34
See eclipse-vertx/vertx-sql-client#899

Tests throw:
```
java.util.concurrent.CompletionException: java.lang.IllegalStateException: Needed to have 6 in buffer but only had 0. In JDBC we would normally block here but need to find a non-blocking solution
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331) ~[?:?]
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632) ~[?:?]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) ~[?:?]
	at java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088) ~[?:?]
	at org.hibernate.reactive.pool.impl.Handlers.lambda$toCompletionStage$0(Handlers.java:29) ~[main/:?]
	at io.vertx.sqlclient.impl.SqlResultHandler.fail(SqlResultHandler.java:103)
```
Tests throw exception:
```
Parameter at position[0] with class = [io.vertx.core.buffer.impl.BufferImpl] and value = [>Eg�BӤVUfBD] can not be coerced to the expected class = [io.netty.buffer.ByteBuf] for encoding.
```

See eclipse-vertx/vertx-sql-client#1304
@DavideD DavideD merged commit acb15ed into hibernate:main Apr 4, 2023
@tsegismont
Copy link
Contributor

@tsegismont, do you have time to have a look at these? ^

I'll take a look, it might be something which does not require deep knowledge of the protocol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add integration with ORM 6.2 and Db2
2 participants