Skip to content

A simple DML-based-only SQLite database table data editor for Java

License

Notifications You must be signed in to change notification settings

marvin-c-offiah/sqlite-data-editor

Repository files navigation

SQLite Data Editor

Functionality

SQLite Data Editor is a simple GUI for editing only the table data in a given SQLite database file via a simple light-weight table editor.

Immediately upon selecting and opening an SQLite database file, the tool creates and populates a tabbed data browse view for all the tables found in the database, allowing the user to edit all table entries, or add or remove rows. Automatically pre-selects the first table.

Since SQLite Data Editor is meant only for editing table data: Makes changes to the database on DML-basis only. Makes no DDL-based (schema or metadata etc.) changes to the database.

Also, database changes happen only by editing the contents in the table editor. No direct SQL-access in the GUI. Saving the table editor edits results in a simple clean and rewrite of all table data in the database, replacing it with the current data in the table editor.

Recommended for

End users

The limitations are targeted at making editing SQLite data very intuitive for laymen end users without any knowledge or interest in all the possibilities of the underlying SQLite and database technology. This allows the GUI to be very light-weight and transparent, making it appear like just editing a simple Excel-file:

No complex additional view elements (menues, trees, console inputs etc.) for schema, indices, views, triggers, SQL input etc., as, e.g., in DB Browser for SQLite. Instead, just straightforward the table data display and an Open file... and Save / Save as... menue. That's it.

Works cross-platform on a Java VM.

Application developers

Allows application developers to provide a universal off-line configuration file editor to the end users of their cross-platform Java application (e.g., for editing launch configs offline) by including this tool:

Instead of laboriously implementing the parsing of multiple or syntactically complicated plain text config files, developers can think about implementing the reading of config data from an API-friendly SQLite database file.

The arising downside of the end user no longer being able to edit the config with a simple text editor is then solved by this tool, since it presents a simple table editor to the user instead. It removes the additional need to implement a user-friendly application-specific GUI-editor for making configurations.