title: how to Convert String to byte array and byte array to Blob using only java program
body: <p>Question is:</p>
  
  <pre><code>String strContent = "Hello Hi How are you ";
  byte[] byteConent = strContent.getBytes();
  </code></pre>
  
  <p>But further I want convert to Blob only in Java program</p>
  
  <p>Because I m working on some script for MySQL DB by default for our application.</p>
  
  <p>Regards,
  Satish</p>