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

python-oracledb support. #670

Open
liudonghua123 opened this issue Dec 7, 2022 · 2 comments
Open

python-oracledb support. #670

liudonghua123 opened this issue Dec 7, 2022 · 2 comments

Comments

@liudonghua123
Copy link

I see the following documentation on https://docs.ponyorm.org/api_reference.html#oracle.

Pony uses the cx_Oracle driver for connecting to Oracle databases. More information about the parameters which you can use for creating a connection to Oracle database can be found here.

However, the cx-oracle is deprecated, now python-oracledb should be use instead.

Is there any plans for update the oracle driver to python-oracledb.

@liudonghua123
Copy link
Author

python-oracledb also has some excellent features like thin mode.

Thin mode: By default, python-oracledb is a 'Thin' driver which connects directly to Oracle Database. This mode does not need Oracle Client libraries.

https://oracle.github.io/python-oracledb/

@lypch
Copy link

lypch commented Jan 8, 2024

@liudonghua123 Do you know how to process CHAR type field in PonyORM. The char type field will add extra spaces at the end of the value if the length of the value isn't up to the field length.

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

No branches or pull requests

2 participants