Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The connection pool for database has been unable to grant a connection in ORMLite 5.1 #116

Open
KursX opened this issue Mar 23, 2020 · 5 comments

Comments

@KursX
Copy link

KursX commented Mar 23, 2020

The connection pool for database '/data/user/0/package/databases/database.sqlite' has been unable to grant a connection to thread 2 (main) with flags 0x5 for 30.002 seconds.
Connections: 0 active, 1 idle, 0 available.

Appears in different applications and only in 5.1

It appears after several calls TransactionManager.callInTransaction().

With 5.0 works good

@bomiyr
Copy link

bomiyr commented Jul 29, 2020

Same here

@fengqingyun2008
Copy link

fengqingyun2008 commented Sep 3, 2020

5.1.same bugs +1.
Then I downgraded the version to 5.0 and it worked normally.

@j256
Copy link
Owner

j256 commented Dec 12, 2020

I've fixed some issues around handling of exceptions when using the TransactionManager in both 5.2 and 5.3. I'd love to know if they resolve your issues.

@j256
Copy link
Owner

j256 commented Oct 20, 2021

Any update on 5.2 and 5.3 @fengqingyun2008 or @bomiyr or @KursX ?

@bomiyr
Copy link

bomiyr commented Oct 20, 2021

Sorry, don't work on the project anymore and can't test again. But I tried to update ormlite before I quit. It works definitely better. On version 5.1 database was freezing on application start. On 5.3 application was usable, but had issues in some cases. But I'm not really sure if it was issue in ormlite or not, because we used it with modified ormlite-android with support for sqlcipher. Did not have time to investigate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants