How to store images in database?

Answers were Sorted based on User's Feedback



How to store images in database?..

Answer / devarathnam c,kotagudibanda(po

Hi... By using "Blob" and "Clob" datatypes

Is This Answer Correct ?    8 Yes 2 No

How to store images in database?..

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

Post New Answer

More JDBC Interview Questions

Differentiate between stored procedure and functions?

0 Answers  


Where is mysql jdbc driver located?

0 Answers  


Which is best database for java?

0 Answers  


What are the main steps in java to make JDBC connectivity?

0 Answers   UGC Corporation,


What will happen when ResultSet is not closed?

1 Answers   CTS,






Describe how the jdbc application works.

0 Answers  


What is jdbc resultsetmetadata interface?

0 Answers  


What is type 4 jdbc driver?

0 Answers  


How to create Connection interface object because it is Interface , Interface is not instansiated?

9 Answers   Aptech, CTS, HCL,


Difference between JDBC and Hibernate? Give one sample based on the variance?

4 Answers   HCL, IBM, Xybion,


How to check jdbc driver version in sql server?

0 Answers  


What is difference between java.util.Date and java.sql.Date?

0 Answers  


Categories