This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I am having binary(digest using SHA1) value in byte array. I want to store it in to database. The database column type is BLOB(Mysql). I thought of using setBlob method of PreparedStatement, but the Blob is an interface So I coulnd't create the instance for that.
How to create Blob instance in java, any standard implementation is available?
Please let me know if any other option is there other than Blob columns to store binary values.