No way to reopen closed database
See original GitHub issueDBFlow Version: 3.1.1 Issue Kind : Bug Description:
FlowSQLiteOpenHelper#getDatabase
always return same SQLiteDatabase
. I think FlowSQLiteOpenHelper#getDatabase
should work like SQLiteOpenHelper#getWritableDatabase
: if the database is closed it will create new database instead.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
python sqlite3 reopen database - Stack Overflow
How do I open the database again, after I closed it? I was thinking closing it and then reopening would be a good...
Read more >how to reopen a closed connection? - Oracle Communities
If I'm working on a worksheet, and I lose connection, how do I reopen it? I try running my code, and the Query...
Read more >How To Reopen Closed Tabs and Restore Webpages - Indeed
2. With keyboard shortcuts. The shortcut to reopen closed tabs is Ctrl+Shift+T on a Windows operating system and Command+Shift+T on macOS.
Read more >Cannot access or reopen a database which is "Auto Closed"
If it is not possible to use ADS to open an auto-closed database. Is there any other way which works without admin rights?...
Read more >Must close and reopen current database notification
"You must close and reopen the current database for the specified option to take effect." This only occurs in one of my DBs...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@douo What about addressing the cached prepared statements? ModelAdapter.java @ 4.0.0-beta3:
I still got a stack trace
See how we use the cached statement, and in SQLiteStatement it goes to SQLSession. So the cached session is bad – we need to clear all cached statements. Is there a way to do this? I don’t know if this has been updated post beta3, unfortunately, I’m stil lon 4.0.0.
Best idea for how to work around. Critiques? Suggestions?