eclipse-vertx / eclipse-vertx/vertx-sql-client
BLOB or BINARY types and Buffer on DB2
Open
bug
help wanted
module:db2
- Dominant language
- Java
- Stars
- 912
- Forks
- 212
- Avg merge
- 17h 30m
- Merged PRs (30d)
- 3
Description
As reported [here](https://github.com/hibernate/hibernate-reactive/issues/306), a parameter of type `Buffer` cannot be used as a parameter of type BLOB or BINARY on the DB2 client. This *does* work on both Postgres and MySQL.
The error is:
Parameter at position[1] with class = [io.vertx.core.buffer.impl.BufferImpl] and value = [...] can not be coerced to the expected class = [io.netty.buffer.ByteBuf] for encoding.
(More info in the linked HR issue.)
Contributor guide
Assessment
This issue has not been assessed yet.