About .NET Oracle database link, use connection pooling pooling = true problem

    When .net oracle database link, when the link string pooling = true, the view is structural change program error issues, but also experts advise

     phenomenon:

    Link string:

    

   Note: Here Pooling = to true ;

    Test View:

    SQL statements executed as: select * vi_tbtest from;

    Filling DataTable code:

    

   Normal first query:

   

   When you modify a view:

   

   Note: This removes a field

    Program code unchanged, re-query given as follows:

   

   When pooling = false when no more problem      

   This problem has plagued me for a long time, we have not found the right solution, but also experts advise.

 

   PS:

      1. Clear the pool link:

      2. Set Connection lifetime to a shorter time

      The above two methods can temporarily solve the problem of error, but if not then reach the purpose of the use of connection pooling it with the above two methods, not as a direct means of pooling = false.

     SQLServer these problems do not exist.

     Idiopathic this article help Great God! !

 

Reproduced in: https: //www.cnblogs.com/sjfe_cn/p/8046056.html

Guess you like

Origin blog.csdn.net/weixin_34360651/article/details/93169640