How to store data in BLOB column type
Posted by: Jahnvi Vyas
Date: October 13, 2006 01:33AM

Hi,

I am developing web application in which I am using JSP and MySql 5.1. As IDE I am using netBeans 4.1

I want to store PrivateKey n PublicKey in BLOB type field. But when I try to insert that time it shows me type mismatch error. (PrivateKey n PublicKey are provided in java.security.* package.

For solving this problem I have to call constructor Blob(byte[]) of the package com.mysql.jdbc.Blob. I have included proper jar file. I am calling this constuctor with proper arguments but it gives error "constructor not found".

Does anybody have solution for this???

Options: ReplyQuote


Subject
Written By
Posted
How to store data in BLOB column type
October 13, 2006 01:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.