Python - Connecting to JDBC

こ雲淡風輕ζ 提交于 2020-01-03 12:31:18

问题


I found this library, JayDeBeApi which says it will let me connect to JDBC.

Does anyone know if how reliable it is, or if there's a better way to connect?

If not, I'm having trouble setting up JayDeBeAPI. The instructions say to run some Python code to set up JPype but I'm not clear if I need to do that in the same script before calling the connection code, or is it some kind of server I need to leave running?


回答1:


It depends whether you want to use CPython or Jython. For Jython, I would suggest for less complicated cases to use more simple tools.



来源:https://stackoverflow.com/questions/5938011/python-connecting-to-jdbc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!