Can someone help me out ? It is an urgent. I want to insert an array of integer into the oracle database using Java applets and JDBC. The array to be inserted is in Column with datatype BLOB. I tried to convert the array into bit array but yet it is giving problems. Help me please, TIA.
T Bush
Greenhorn
Joined: Jul 31, 2000
Posts: 13
posted
0
Here is code to place a serilized object into a SQL Server IMAGE field, the syntax should be about the same....
Hope it helps.
Todd Bush<BR>AIM: RalphWiggam14
Bharat Agarwal
Greenhorn
Joined: Jun 16, 2001
Posts: 21
posted
0
Thanx, I tried to figure it out and I have used the following code almost similar to ur's........
//if (source==Button7) if(evt.target ==Button7) { System.out.println("Button Pressed"); txtfield.append("Button submit pressed"); //if (Image_Name() != null) String img_id = Image_Name(); System.out.println(img_id); txtfield.append("The following image is seen :" + img_id); //byte img_points[]=land_points_xy[]; //insertBlob(img_id, land_points_xy); insertBlob(land_points_xy); txtfield.append("BLOB inserted"); }//end of submit button ..................
}// method ends It gives me Connection reset by peer error in IE browser and IOException:Broken pipe in appletviewer.......Can any one help me please......It is urgent......