db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen" <Bernt.John...@Sun.COM>
Subject Re: What is correct way of closing an embedded connection ?
Date Wed, 01 Nov 2006 07:34:17 GMT
>>>>>>>>>>>> legolas wood wrote (2006-10-31 01:53:52):
> Hi
> Thank you for reading my post
> what is proper way of closing a connection when we use an embedded Derby 
> database?

connection.close();

> is it ok if we create several connection against  an Embedded Derby
> , 

yes

> how will be the resource consumption ?

I would say that it would depend on what you're doing. The Connection
itself does not contribute that much to the resource consumption.

-- 
Bernt Marius Johnsen, Database Technology Group, 
Staff Engineer, Technical Lead Derby/Java DB
Sun Microsystems, Trondheim, Norway

Mime
View raw message