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

Bug fixing [Database connection not closed] #3

Open
vincentkk6356 opened this issue Mar 21, 2019 · 0 comments
Open

Bug fixing [Database connection not closed] #3

vincentkk6356 opened this issue Mar 21, 2019 · 0 comments

Comments

@vincentkk6356
Copy link

When used to collect data for the second time, the database does not update.

It is found that in SQLDBController.java, inside the "bulkInsertFromIntent" function, a line should be added :

database.close();

at the end of the function.

Otherwise, the database will remain connected with the last session and the transaction will not be committed until the connection is closed.

@vincentkk6356 vincentkk6356 changed the title [] Bug fixing [Database connection not closed] Mar 21, 2019
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

1 participant