Data Access Application Block and ClearAllPools function

Data Access Application Block and ClearAllPools function

Postby 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
Posts: 7
Joined: Fri 20 Mar 2009 08:42

Postby 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.
Devart Team
Posts: 7284
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle