What is static Synchronized method in JDBC API? Give an
example?

Answer Posted / indrani

getConnection is the synchronised and static method

Is This Answer Correct ?    36 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?

495


Explain the various types of locking system in jdbc?

476


Which database is used for java?

506


What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?

462


What packages are used by jdbc?

491






What is the feature of jdbc v4?

466


What is the role of the jdbc drivermanager class?

463


Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?

571


What are database warnings in jdbc and how can we handle database warnings in jdbc?

591


What are the different classes through which JDBC represents statements?

486


How do I stop nullpointerexception?

492


What are the measures to connect to the db using jdbc?

444


What is while rs next ())?

475


What are the benefits of PreparedStatement over Statement?

507


What is the purpose of jdbc?

566