androidGuy androidGuy - 7 months ago 136
Java Question

Easiest way to convert byte array into Blob in java

What is the easiest way to convert byte array into Blob data type in MYSQL with java programming language?

Answer
Blob blob = connection.createBlob();
blob.setBytes(1, bytes);
Comments