Tu Hoang
Tu Hoang

Reputation: 4712

Python: Interacting with Oracle database without using ODBC

I am new to python and currently writing a module to write error logs into Oracle database. Its not possible to install ODBC libraries on the server for this task so I am wondering what is the best way to handle this without using ODBC (such as pyodbc). I am advised to use ORMs so any of you have some idea about this? I am using python 2.6.5.

Thank you.

Upvotes: 0

Views: 937

Answers (2)

vanje
vanje

Reputation: 10373

cx_Oracle doesn't use ODBC but you have to install the Oracle client tools.

If the JVM and Jython is an option for you the Oracle Thin Driver for JDBC can be used without ODBC or the client tools.

Upvotes: 1

Peder Klingenberg
Peder Klingenberg

Reputation: 41125

There are apparently a number of options, a mere google search away:

http://wiki.python.org/moin/Oracle

My guess is that cx_Oracle is the one you want.

Upvotes: 1

Related Questions