How to store images in database?
Answers were Sorted based on User's Feedback
Answer / devarathnam c,kotagudibanda(po
Hi... By using "Blob" and "Clob" datatypes
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / 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 |
Explain the importance of drivermanager.
How can you tune SQL statements?
Where is jdbc used?
Is jdbc a framework?
If iam using JDBC API, do I also have to use ODBC?
What are the advantages of using preparedstatement over statement?
What are pros and cons of using of Type-2 and Type-4 Drivers over Type-1 driver?
What is the feature of jdbc v4?
Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?
How does JDBC differ from ODBC?
How can you load the drivers?
How can we set null value in jdbc preparedstatement?