Answer Posted / mani kant
The setBinaryStream() method of PreparedStatement is used to store binary information.
For storing image into the database, BLOB (Binary Large Object) datatype is used in the table. For example:
CREATE TABLE "IMGTABLE"
( "NAME" VARCHAR2(4000),
"PHOTO" BLOB
)
/
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?
How do you insert images into database using jdbc?
java based application for hospital management
What are the standard isolation levels defined by JDBC?
What types of DataSource objects are specified in the Optional Package?
Does sql allow null values ? Can we use it within where clause ?
What is execute in java?
What are the advantages of using preparedstatement over statement?
Why we use while rs next ())?
What do you understand by jdbc statements?
What is the return type of execute, executequery and executeupdate?
What is ojdbc14 jar?
Is jdbc a middleware?
What are the classes and methods used for sending sql statements to database?
What is an SQL Locator?