[jOOQ/jOOQ#15732] InputStream.readAllBytes() is available only in JDK 9
This commit is contained in:
parent
8d123981aa
commit
77fbee545c
@ -207,6 +207,7 @@ public class BlobBinding implements Binding<byte[], byte[]> {
|
||||
try {
|
||||
switch (ctx.family()) {
|
||||
|
||||
|
||||
// [#15732] Work around https://github.com/duckdb/duckdb/issues/11381
|
||||
case DUCKDB:
|
||||
try {
|
||||
@ -221,6 +222,8 @@ public class BlobBinding implements Binding<byte[], byte[]> {
|
||||
throw new SQLException(e);
|
||||
}
|
||||
|
||||
|
||||
|
||||
default:
|
||||
return blob.getBytes(1, asInt(blob.length()));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user