Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oracledb #166

Closed
martamedovova-ext91522 opened this issue Apr 27, 2023 · 5 comments
Closed

oracledb #166

martamedovova-ext91522 opened this issue Apr 27, 2023 · 5 comments
Assignees
Milestone

Comments

@martamedovova-ext91522
Copy link

Hello,
will you update your library for driver oracledb which uses thin and thick mode and now it is not possible to switch them :(

https://python-oracledb.readthedocs.io/en/latest/user_guide/appendix_c.html#connectdiffs

@joseajunior
Copy link

We need support for this library since from 3.11 and above cx_Oracle will no longer be supported.

@amochin
Copy link
Collaborator

amochin commented Jun 5, 2023

Hello, the library maintenance was recently transferred to the Robot Framework community.
I'm currently working on updating it, but it's going to take some time to clean it all up.
Anyway - adding the native support of the new oracledb module is one of the highest priorities.

However you can use the new python oracledb even now - using the Connect To Database Using Custom Params keyword.
Here is an example:

*** Variables ***
${DBHost}       127.0.0.1
${DBName}       MY_DB
${DBPass}       pass
${DBPort}       1521
${DBUser}       db_user

*** Keywords ***
Connect To DB
    ${con_str} =    Catenate    SEPARATOR=${EMPTY}
    ...    ${DBUser}/${DBPass}@
    ...    ${DBHost}:${DBPort}/${DBName}
    Connect To Database Using Custom Params    oracledb    "${con_str}"

@amochin amochin added this to the v1.4 milestone Jun 7, 2023
@amochin amochin modified the milestones: v1.4.0, v1.3.0 Jun 23, 2023
@amochin amochin self-assigned this Jun 23, 2023
amochin added a commit that referenced this issue Jun 23, 2023
@amochin amochin closed this as completed Jul 11, 2023
@martamedovova-ext91522
Copy link
Author

martamedovova-ext91522 commented Sep 12, 2023

Hi,
great you added the oracledb mode.
I cannot see the option for switching thin vs thick mode in the new release version, is not includec then?
Thank you

@amochin
Copy link
Collaborator

amochin commented Sep 12, 2023

Hello, thanks for pointing this out!
You are right, only thin mode support was added. Switching to the thick mode is not supported now - I’ve created a new issue for this #185

@martamedovova-ext91522
Copy link
Author

Welcome and thank you :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants