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 |
Differentiate between stored procedure and functions?
Where is mysql jdbc driver located?
Which is best database for java?
What are the main steps in java to make JDBC connectivity?
What will happen when ResultSet is not closed?
Describe how the jdbc application works.
What is jdbc resultsetmetadata interface?
What is type 4 jdbc driver?
How to create Connection interface object because it is Interface , Interface is not instansiated?
Difference between JDBC and Hibernate? Give one sample based on the variance?
How to check jdbc driver version in sql server?
What is difference between java.util.Date and java.sql.Date?