The SQLiTable2Java tool generates for a SQLite database table the corresponding Java source code which contains ready-for-use Java-methods for the most common used SQL statements.
See also: SQLiTable2Java Programming Examples
Restrictions: The SQLite data types NULL, NUMERIC and BLOB are not supported by this tool.
How to Generate the Java Source Code
Enter the name of your SQLite table into the first input field.
Open a Shell or DOS prompt window and call sqlite3 <your-DB-file>.
At the sqlite3 prompt execute the command: PRAGMA table_info(<your-table-name>); and paste the sqlite3 output into the second input field.
Enter into the third input field the Java package name that your generated code will use.
Click on the Submit / Generate Java Code button.
Review the generated code and click on the Download button.
Example
SQLite Table Name =user_table
Output of PRAGMA table_info(user_table);