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...

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

Answer Posted / venkat

getConnection is not synchronized method,but it is static

registerDriver(java.sql.driver);
deregisterDriver(java.sql.driver);
 the above two methods are synchronized methods
if any one have doubet

go to command prompt type following command

javap java.sql.DriverManager

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many rowset are available in jdbc?

1116


Why do we use jdbc in java?

1053


What is statement and resultset in jdbc?

950


What is use of connection pooling?

963


Does jdbctemplate use prepared statements?

910


what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();

5050


What is jdbc and why is it required?

924


Which database is used with java?

960


Is jdbctemplate thread safe?

903


Explain the difference between rowset vs. Resultset in jdbc?

1001


How do I stop nullpointerexception?

977


Can I set up a connection pool with multiple user IDs? The single ID we are forced to use causes problems when debugging the DBMS.

951


How does jdbc connect to database?

882


Explain how data flows from view to db and reverse

2050


What is an advantage of using the jdbc connection pool?

878