Yes you have to close the connections! Nothing will drop your server
faster than running out of DB connections. 

If you open your connection with this: 

Connection conn = DriverManager.getConnection(url, user, password);

Then you close it like this: 

conn.close();



--- Hari Yellina <[EMAIL PROTECTED]> wrote:
> Hi All,
> 
>  Is it neccesary for us to close the connetions for the database. Is
> the
> java garbage collector gonna do the job for us.
> 
> If that is not the case please tell me how to close the connections.
> We have
> a application containing 800 pages . Every page has a connection open
> . Do
> we require to close all the applications.
> 
> Regards, Hari Yellina.
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to