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
Which is best database for java?
What is a jdbc connection pool?
Explain the difference between inner and outer join ?
Which jdbc driver is the fastest driver?
What is the query used to display all tables names in SQL Server (Query analyzer)?
What are drivers available?
How MS-Access DB can be accessed over a network, using JDBC API?
What are the basic exceptions in jdbc?
What are the classes and methods used for sending sql statements to database?
Is oracle client required for jdbc connection?
How can we store the file in the oracle database?
How many types of JDBC Drivers are present and what are they?
How do we load the drivers?
What is jdbc odbc in java?
Under what circumstances, that all four drivers are used?