Feedback
Did this article resolve your question/issue?

   

Article

Connection option "ConnectionReset" explained for Connect for .Net Oracle Provider

Information

 
TitleConnection option "ConnectionReset" explained for Connect for .Net Oracle Provider
URL Nameconnection-option-connectionreset-explained-for-connect-for-net-oracle-provider
Article Number000141777
EnvironmentProduct: Connect for .Net Oracle Provider
Version: 4.2
OS: Windows
Database: Oracle
Application: N/A
Question/Problem Description
The documentation states: "ConnectionReset specifies whether a connection that is removed from the connection pool for reuse by an application will have its state reset to the initial configuration settings of the connection.
If set to True, the state of connections removed from the connection pool for reuse by an application is reset to the initial configuration of the connection. Resetting the state impacts performance because the new connection must issue additional commands to the server, for example, resetting the current database to the value specified at connect 

Can you explain in more detail than the documentation what that option does?

Would setting it to true negate the benefits of connection pooling?

Is there a risk of running out of connections or would it mean that some form of connection pooling is still done?

 
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
When connected, the connection state could be changed by “Alter session”, “Use database”, “Native commands like literal format not used in Initialization string”, and so on. Because of this, if ConnectionReset is enabled, the driver will reset the connection to its initial state, like before it is put into the pool .

It wouldn't negate the benefits of connection pooling, it just means that the driver will have to make changes to the connection state which, at a small scale, can affect performance. Also, there is no risk of running out of connections by using ConnectionReset.
 
Workaround
Notes
Last Modified Date3/17/2017 9:23 PM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.