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
365 stars 148 forks source link

async connection creation fix #163

Closed jeffgeee closed 4 years ago

jeffgeee commented 4 years ago

added check for isJVMStarted to avoid OSError: JVM is already started when creating multiple connections asynchronously.

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

jeffgeee commented 4 years ago

sorry, it seems this was a premature