Running cx_Oracle under jython

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Running cx_Oracle under jython相关的知识,希望对你有一定的参考价值。

Not all modules that work with Python in CPython implementation will work on other implementations. If such module use system specific calls, or binds to some .dll/.so file it will not work on other Python implementation. cx_Oracle is one os such modules: it binds to Oracle client (there are cx_Oracle versions for various Oracle versions and various operational systems).

I think you should use JDBC driver if you want to access Oracle from Jython. Then you can use JDBC calls, or use zxJDBC Jython module that makes JDBC drivers available via DB API calls. I used both JDBC (with zxJDBC) and cx_Oracle in programs that can work from CPython and Jython. To see it in action look to my recipe to dump Oracle db schema to text

以上是关于Running cx_Oracle under jython的主要内容,如果未能解决你的问题,请参考以下文章

BZOJ 1613: [Usaco2007 Jan]Running

bzoj1613 / P1353 [USACO08JAN]跑步Running

BZOJ1613[Usaco2007 Jan]Running贝茜的晨练计划 DP

HDU6071 Lazy Running

stm32 Connecting to CPU via connect under reset failed.Abort debug session?

python之Oracle操作(cx_Oracle)