Data Access Application Block and ClearAllPools function

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 7
Joined: Fri 20 Mar 2009 08:42

Data Access Application Block and ClearAllPools function

Post by Marcus » Fri 20 Mar 2009 09:29


i need a solution to use the ClearAllPools function with the Data Access Application Block.

I tried this:

Code: Select all

  db = DatabaseFactory.CreateDatabase()
  conn = db.CreateConnection()

  Devart.Data.Oracle.OracleConnection.ClearPool(CType(conn, Devart.Data.Oracle.OracleConnection))
best regards

Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 23 Mar 2009 11:55

I have tried the following code with the 5.20.24 version of dotConnect for Oracle. It works fine.

Code: Select all

      Database db = DatabaseFactory.CreateDatabase("connStingName");
      DbConnection conn = db.CreateConnection();
Please specify the version of dotConnect for Oracle you are using. Give us a more detailed description of the problem. Please specify the error message you are getting.

Post Reply