sql connection pool

T

techimadhu

hi,
i have a component which creates new sql connectiona and passes the
connection object to the clients.
i want to implement a connection pool, instead of simply creating
infinite number of connections. does dotnet has any built in support
for this?
my database server is oracle 9i.

thanks,
madhu
 
S

Sean Hederman

I haven't done this with Oracle before, but the principle should be the
same. ODBC supports connection pooling. The connection strings will have to
be identical, and you have to go to the Microsoft ODBC Administrator (in
Administrative Tools). Go to the Connection Pooling tab, choose the Oracle
Driver you're using, and Enable the pooling for the driver.
 
S

Sherif ElMetainy

Hello

Yes, .NET has built in support for connection pools. When you Close a
connection it goes back to the pool and is not actually closed. So make sure
you close the connection as soon as you are done with it. This is true for
Oracle Sql Server, ODBC and OleDb connections.

Best regards,
Sherif
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top