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

Eliminate dependency on ORMLite #2

Open
ornamental opened this issue Jul 16, 2018 · 0 comments
Open

Eliminate dependency on ORMLite #2

ornamental opened this issue Jul 16, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ornamental
Copy link
Owner

The ORM functionality is not employed at all as only raw SQL queries are sent to SQLite. Thus there is no need in using ORMLite, JDBC functionality combined with connection pooling should be sufficient.

  1. Implement JDBC connection pooling.
  2. Consider preparing certain statements on per-connection basis (as there will be only one RW connection, the INSERT, UPDATE, and DELETE statements only have to be prepared for this connection; RO queries will have to be prepared for each connection in the pool).
  3. Migrate to the new querying mechanism and exclude the dependencies which will become redundant.
@ornamental ornamental self-assigned this Jul 16, 2018
@ornamental ornamental added the enhancement New feature or request label Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant