ormlite-android icon indicating copy to clipboard operation
ormlite-android copied to clipboard

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

Open KursX opened this issue 6 years ago • 5 comments

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

KursX avatar Mar 23 '20 08:03 KursX

Same here

bomiyr avatar Jul 29 '20 06:07 bomiyr

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

fengqingyun2008 avatar Sep 03 '20 07:09 fengqingyun2008

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 avatar Dec 12 '20 16:12 j256

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

j256 avatar Oct 20 '21 19:10 j256

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

bomiyr avatar Oct 20 '21 20:10 bomiyr