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 the JDBC syntax for using a literal or variable in a standard Statement?

1004


What is an odbc driver?

917


What is jdbc driver in java?

936


Why are we using blob datatypes in jdbc?

1091


What is a connection string used for?

978


Where can I find info, frameworks and example source for writing a JDBC driver?

943


Why do we need a jdbcrowset like wrapper around resultset?

1262


What are the advantages of using preparedstatement in java?

998


Why “no suitable driver” error occurs?

1098


Is not bound in this context unable to find jdbc spring boot?

911


How can I connect mysql or oracle with java?

973


What are temp tables ?

987


Is jdbctemplate thread safe?

912


Explain the difference between resultset and rowset in jdbc

1017


How can we maintain the integrity of a database by using jdbc?

1082