// Update the value in the database.
CallableStatement cstmt = prepareCall(
"CALL UPDATE_LONGVARBINARY_PROC(?)");
cstmt.setObject(1,bytearr,java.sql.Types.LONGVARBINARY);
cstmt.executeUpdate();
// Retrieve the updated value and verify it's correct.
ResultSet rs = stmt.executeQuery(
"SELECT LVBC FROM LONGVARBINARY_TABLE");
assertNotNull("SELECT from LONGVARBINARY_TABLE", rs);