Python - Connecting to JDBC

I found this JayDeBeApi library which says that it will allow me to connect to JDBC.

Does anyone know how reliable it is or is there a better way to connect?

If not, I am having trouble setting up JayDeBeAPI. The instructions say that to run some Python code to configure JPype, I don’t understand if I need to do this in the same script before calling the connection code, or is it some kind of server that I need to leave?

+5
source share
1 answer

It depends on whether you want to use CPython or Jython. For Jython, I would suggest using simpler tools in less complex cases.

+1
source

Source: https://habr.com/ru/post/899265/


All Articles