Connection pooling

Connection pooling

Postby marc.vanhoecke » Tue 08 Sep 2009 08:05

Hi, I am using UniDirect.NET against an Oracle database. I have some unit tests (+-200) that connect to the database, make some dummy records, test and then delete the dummy records again. Every unit test, opens a connection and then closes it. On the database i can see that the number of sessions is increasing, until I get a timeout. Shouldn't connection pooling reuse an existing connection instead of creating a new connection. As soon as the program terminates, all sessions are closed.

Best regards,
Marc
marc.vanhoecke
 
Posts: 11
Joined: Mon 27 Aug 2007 08:24

Postby Shalex » Wed 09 Sep 2009 07:20

The connection pooling bug was fixed in the 2.10.11 version of UniDirect .NET. Please specify your current version.
Shalex
Devart Team
 
Posts: 7775
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect Universal