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
What driver should I use for scalable Oracle JDBC applications?
What is executeupdate in java?
What causes no suitable driver error?
How a database driver can be loaded with jdbc 4.0 / java 6?
If I use the JDBC API, do I have to use ODBC underneath?
Give steps to connect to the db using jdbc?
What is metadata in programming?
How to know howmuch data is truncated?
What are the common tasks of JDBC?
Explain the difference between inner and outer join ?
Which type of driver provides jdbc access via one or more odbc drivers?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.
Does jpa use jdbc?
What class.forname will do while loading drivers of jdbc?
How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?