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 |
JDBC Drivers properties?
Why is jdbc used?
How do java applications access the database using jdbc?
What are jdbc?
Why do we need a jdbcrowset like wrapper around resultset?
How do I start debugging problems related to the JDBC API?
What is the exception thrown by JDBC ?
Is the JDBC-ODBC Bridge multi-threaded?
What driver should I use for scalable Oracle JDBC applications?
How to rollback a JDBC transaction?
What is 2 phase commit?
What is the query used to display all tables names in SQL Server (Query analyzer)?