Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
see https://github.com/mariadb-corporation/mariadb-connector-r2dbc/issues/77
Encoding type is wrongly set ByteBuf in place of ByteBuffer, resulting in error like "java.lang.IllegalArgumentException: No encoder for class java.nio.HeapByteBuffer"
implementation
public boolean canEncode(Class<?> value) { |
return ByteBuf.class.isAssignableFrom(value); |
}
|
must be :
public boolean canEncode(Class<?> value) { |
return ByteBuffer.class.isAssignableFrom(value); |
}
|
|