You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A failed product version lookup is cached for the whole connection #112
LibsqlDatabaseMetaData.resolveDatabaseProductVersion catches SQLException and stores "3.0" in cachedDatabaseProductVersion. #94 caches the metadata instance per connection. One network error now pins getDatabaseProductVersion() to "3.0" for the life of the connection. getDatabaseMajorVersion() and getDatabaseMinorVersion() return 3 and 0.
On a closed connection the method also returns "3.0", while getTables and getColumns throw. The cache field is not synchronized.
Activity
fix(jdbc): close the product-version statement (#92) (#128)
fix(jdbc): stop caching a failed product-version lookup (#133)