access_time 2y languageEnglish
more_vert

AttributeError: type object 'java.sql.Types' has no attribute '__javaclass__'

visibility 2,684 comment 1
In my previous article  Connect to SQL Server via JayDeBeApi in Python , I showed examples of using Python package jaydebeapi to connect to SQL Server via JDBC. The code was working properly. However after I reinstall Python 3.8.2 x64 version on Windows, I'm getting a new error ...
thumb_up 0
comment Comments
2y link more_vert
Raymond Raymond
web_assetArticles 549
forumThreads 7
commentComments 168
account_circleProfile
#316 Re: AttributeError: type object 'java.sql.Types' has no attribute '__javaclass__'

According to https://github.com/baztian/jaydebeapi/issues/131, this issue has now been fixed.

This problem has been fixed , just upgrade to JayDeBeApi to 1.2.3, JPype1 to 0.7.5