Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is executequery in java?

0 Answers  


How can I create a custom RowSetMetaData object from scratch?

0 Answers  


What is JDBC Connection isolation levels?

0 Answers  


Name the types of jdbc drivers.

0 Answers  


What is jndi lookup?

0 Answers  


How can we disable a constraint ?

0 Answers  


How to connect multiple database in jdbc?

0 Answers  


What is JDBC API and when do we use it?

0 Answers  


what are the advantages of JDBC?

7 Answers  


Why prepared statements are faster?

0 Answers  


What are the different types of locking in JDBC?

0 Answers  


MY code is: public class P1{ public static void main(String ar[]) { class.forName("java.lang.String"); } } errors i got are :New.java:5: error: <identifier> expected class.forName("java.lang.String"); ^ New.java:5: error: invalid method declaration; return type required class.forName("java.lang.String"); ^ New.java:5: error: illegal start of type class.forName("java.lang.String"); ^ New.java:7: error: reached end of file while parsing } ^ 4 errors HELP ME>......

3 Answers  


Categories