Is it possible 1.4.0 will fix a ORA-1000 issue? #192
              
  
  Closed
              
          
                  
                    
                      mauropagano
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 6 replies
-
| It is unlikely that those changes will cause a cursor leak. Those changes were simply surrounding when statements were cached and how many of them were cached. You can find out easily enough, though, by disabling the statement cache (setting the attribute  There is anonther more recent commit (which I will push up to GitHub shortly) which would leak a cursor if an exception happened during the processing of a database response. That one may be more relevant, especially if your test cases involve exceptions being thrown frequently! | 
Beta Was this translation helpful? Give feedback.
                  
                    6 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Not sure if this isn't the suggested way to ask this sort of questions, but I couldn't find a less intrusive way (opening an issue sounded more aggressive)
I was wondering if the fix introduced by e20c574 removes the potential for ORA-1000, where the library doesn't close the cursor (on the next rountrip) even though it should.
Asking since the description of the fix is a big vague and I recently stumbled on a ORA-1000 that didn't make much sense (code properly closes all cursor via contextmanager, SessionPool in use)
Thanks,
Mauro
Beta Was this translation helpful? Give feedback.
All reactions