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 |
Under what circumstances, that all four drivers are used?
What are the different types of JDBC drivers?
How can you know about drivers and database information ?
How many categories of jdbc drivers are there?
How to update a resultset programmatically?
What is jdbc explain?
What is the difference between ojdbc6 and ojdbc7?
signature of init method?
How many isolation levels are supported in JDBC and what are they?
What are the differences between execute, executequery, and executeupdate?
How do you know which driver is connected to a database?
What is jdbc databasemetadata interface?