- World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.

  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!

    Send your Resume to 6000 Companies

    Question :
    Which method is static synchronized in JDBC API _________
    Category JDBC Interview Questions
    Rating (0.4) By 1697 users
    Added on 7/13/2006
    Views 2263
    Rate it!


    Explanation: getConnection() method in DriverManager class.Which is used to get object of Connection interface.

    As java static rules suggest that it should access by class name only and DriverManager implements Connection interface whose static method getConnection() is called with the name of DriverManager, thus getConnection() is static and no other thread should create connection on the same resource at the same time, it is declared as synchronized also.

    Posted by: Rupesh Raghani    

    Contact Rupesh  Raghani Contact Rupesh Raghani

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

    Related Questions
    View Answer
    Different types of exceptions in JDBC are1. BatchUpdateException2. DataTruncation3. SQLException4. SQLWarning
    View Answer
    JDBC provides facility to store the java objects by using following methods of the PreparedStatement.1. setObject ()2. setBlob()3. setClob()

    View Answer
    Which of the statements is true regarding loading a driver in JDBC.1. registerDriver(Driver driver).2. Class.forName(java.lang.String driverclass)

    View Answer
    Which Driver is preferable for using JDBC API in Applets.
    View Answer
    Which of the following is false for the Type 4 drivers in java

    View Answer
    Which of the following is false regarding the Type 3 JDBC driver
    View Answer
    Which of the following statement is true for the Type 2 JDBC driver?
    View Answer
    Which of the following is false for the Type 1 JDBC bridge driver?
    View Answer
    How many JDBC drivers are there ?
    View Answer
    The full form of JDBC is _________________
    View Answer
    The full form of ODBC is ___________
    View Answer
    Which of the following describes the correct sequence of the steps involved in making a connection with a database.1. Loading the driver2. Process the results.3. Making the connection with the database.4. Executing the SQL statements.
    View Answer
    Which of the following statements is true regarding the two tier model of the JDBC driver model.
    View Answer
    Which of the following statement is true regarding the three tier model in the JDBC driver model architecture.
    View Answer
    Does the JDBC-ODBC Bridge support multiple concurrent open statements per connection ?
    View Answer
    Is the JDBC-ODBC bridge multithreaded ?
    View Answer
    State true or falseCan we retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column ?

    View Answer
    Which of the following statements is true regarding the failing of the class.forName in jdk 1.1.x.
    View Answer
    The cause of failing to load the appropriate JDBC drivers before calling the getConnection method, or it specifying an invalid JDBC URL--one that isn't recognized by your JDBC driver can result in the error __________________ during a call to the DriverManager.getConnection method.
    View Answer
    JDBC-ODBC Bridge does not work with Microsoft J++, because it does not support ___________________
    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here - Best Freshers & Experienced Jobs Website.

    View ALL JDBC Interview Questions

    User Options
    Sponsored Links

    Copyright ©2003-2015, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

    Cache = 0 Seconds