Data Access Application Block and ClearAllPools function

Data Access Application Block and ClearAllPools function

Postby Marcus » Fri 20 Mar 2009 09:29

Hi,

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()
  conn.Open()

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


best regards
Marcus
Marcus
 
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();
      conn.Open();
      OracleConnection.ClearPool((OracleConnection)conn);

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


Return to dotConnect for Oracle