开发者

Python - Connecting to JDBC

开发者 https://www.devze.com 2023-03-04 12:22 出处:网络
I found this library, JayDeBeApi which says it will let me connect to JDBC. Does anyone know if how reliable it开发者_如何学C is, or if there\'s a better way to connect?

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

Does anyone know if how reliable it开发者_如何学C 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?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消