baztian / jaydebeapi

JayDeBeApi module allows you to connect from Python code to databases using Java JDBC. It provides a Python DB-API v2.0 to that database.
GNU Lesser General Public License v3.0
364 stars 147 forks source link

DeprecationWarning: jpype._core.isThreadAttachedToJVM #203

Open marcusbevans opened 2 years ago

marcusbevans commented 2 years ago

When I run some tests associated with my script I see the following error:


  D:\code\sugo\pyroyalties\venv\lib\site-packages\jaydebeapi\__init__.py:200: DeprecationWarning: jpype._core.isThreadAttachedToJVM is deprecated, use java.lang.Thread.isAttached instead
    if not jpype.isThreadAttachedToJVM():```