/**
  * If using native SQL then print a byte[] literally as a hex string otherwise use ODBC format as
  * provided in DatabasePlatform.
  */
 protected void appendByteArray(byte[] bytes, Writer writer) throws IOException {
   if (usesNativeSQL()) {
     writer.write("Ox");
     Helper.writeHexString(bytes, writer);
   } else {
     super.appendByteArray(bytes, writer);
   }
 }