title: How to create a java.sql.Blob object in Java SE 1.5.0 with a byte[] input?
body: <p>I want to create a Blob object from a byte[] input to update a table using <code>PreparedStatement#setBlob()</code>. In J2SE 6, we have <a href="http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html#createBlob%28%29"><code>java.sql.Connection#createBlob()</code></a> to get this done. Is there anything similar to this available in J2SE 1.5.0? What is the best way to update a BLOB type column with a <code>byte[]</code> data in J2SE 1.5.0?</p>