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

How do we call a stored procedure from jdbc?

1023


How to insert and delete a row programmatically? (new feature in JDBC 2.0)

1038


What is jdbc and odbc in java?

962


What is url in jdbc connection?

996


State the different connection methods used for creating different types of sql.

1016


How to use JDBC API to call Stored Procedures?

1058


What are the advantages of database connection pooling?

963


Does jpa use jdbc?

981


How does jdbc driver work?

1036


Why did my jdbc code throw a rollback sqlexception?

962


Is jdbc an api?

1118


What is jdbc connection class?

944


What are the common jdbc exceptions?

997


What is two-phase commit in the database?

1103


Write a program JDBCcode forfetching student database with SQL.

1171