We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Row.get("cert")
VARBINARY
String
1.1.1-rc
Calling Row.get("<name of varbinary column>") returns VARBINARY values as String instead using byte[]. In previous versions, this has worked.
Row.get("<name of varbinary column>")
byte[]
Example SQL:
CREATE TABLE legoset ( id integer PRIMARY KEY, name varchar(255) NOT NULL, manual integer NULL, cert varbinary(255) NULL ) ENGINE=InnoDB;
Reproducer:
Connection connection = Mono.from(connectionFactory.create()).block(); Flux.from(connection.createStatement("SELECT * FROM legoset").execute()) .flatMap(it -> it.map(readable -> { Object cert = readable.get("cert"); System.out.println(cert); // should be byte[] return cert; })).blockLast();
JDBC driver returns byte[5] correctly:
byte[5]
value = byte[5] 0 = 1 1 = 2 2 = 3 3 = 4 4 = 5
The text was updated successfully, but these errors were encountered:
closed by https://jira.mariadb.org/projects/R2DBC/issues/R2DBC-57 in 1.1.2
Sorry, something went wrong.
No branches or pull requests
Calling
Row.get("<name of varbinary column>")returnsVARBINARYvalues asStringinstead usingbyte[]. In previous versions, this has worked.Example SQL:
Reproducer:
JDBC driver returns
byte[5]correctly:The text was updated successfully, but these errors were encountered: