Re: [sqlalchemy] Connect to multiple Oracle DBs via LDAP

2020-06-16 Thread Syrrius78
oki thanks a lot. I'll send a message to the cx_Oracle devs. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a f

Re: [sqlalchemy] Connect to multiple Oracle DBs via LDAP

2020-06-16 Thread Mike Bayer
sounds like a cx_Oracle issue ? I don't really understand what this means. A particular Engine can only connect to one database at a time in any case. Contact cx_Oracle devs at https://github.com/oracle/python-cx_Oracle/issues Python doesn't support JDBC unless you're using Jython which SQLAlch

[sqlalchemy] Connect to multiple Oracle DBs via LDAP

2020-06-16 Thread Syrrius78
hi, i'm using sqlalchemy 1.3.12. For a project, I try to connect to multiple oracle databases via LDAP (different LDAP url & context) . it's working fine for 1 database : cx_Oracle dialect + sqlnet.ora & ldap.ora files. Problem with this method : it seems we can declare only 1 database (impos