I've found that storing binary data (byte[]) has the following problem if using PreparedStatement.setBinaryStream or setBytes.
if any element of the array is bigger than 127, the byte with value 0 after this element will be changed to 2 bytes "\0", or "92 48" in ordinal value automatically, thus when I read the array from mysql database, it is invalid. How could I GET WHAT I ACTUALLY STORE? 3x.