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 happens if connection is not closed?

Answer Posted / siva mukesh

As per my knowledge "We must close the database connection.if not the database will not update even after executing query also.For example our program is to update EMP table from our database.Now check this program without closing the connection and closing the connection."

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is batch processing and how to perform batch processing in jdbc?

933


What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?

966


What is the difference between execute, executeQuery, executeUpdate?

1036


What do you mean by two phase commits?

1083


Why do we use jdbc in java?

1060


What is an advantage of using the jdbc connection pool?

878


Is jdbc part of j2ee?

983


What is the difference between jdbc and jndi?

1010


What is CLOB and BLOB datatypes in JDBC?

1295


What does the jdbc connection interface?

987


What does the jdbc databasemetadata interface?

985


What is transaction processing in jdbc?

1011


What is jdbc stand for?

931


Name the method, which is used to prepare a callablestatement.

912


What are common JDBC Exceptions?

983