18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

How can I disconnect from an Oracle DB?

kagkag Members
edited September 2013 in Sahi - Open Source
I am able to connect using _getDB, but it looks like it's leaving some open connections to our Oracle DB. I have not found any documentation on how to disconnect from or close the db. Is there a way to explicitly do this?

Thanks.

Best Answer

  • Hi kag,
    What is the Sahi version that you're using?
    In the newer Sahi versions, the database connections are automatically closed after the operations have been performed.

    Regards.

Answers

  • Hi kag,
    Please have a look at the following documentation:
    http://sahi.co.in/w/_getdb
    
    If you still have some doubt, please let me know.

    Regards.
  • I already did look at the documentation, but there was little information. The problem is there is no documentation that tells me how to disconnect from the DB. Our DBA says that there are are lot of open connections that are from my tests, so I need to close those connections. I saw that there was a way to not use the Sahi API, but I wouldn't want to do that because we have a lot of places were we use _getDB.
  • Sahi Pro 5.0.8 (2013-07-23)
    and Sahi (OS) v44 (2013-04-29)

    We'll look into it more as well.

    Thanks.
Sign In or Register to comment.