Package com.studentgui.apphelpers
Class SqlGenerate
java.lang.Object
com.studentgui.apphelpers.SqlGenerate
Utility responsible for creating/validating the on-disk SQLite database
and canonical schema used by the application. Safe to call multiple times.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidEnsure the database file and canonical schema exist.
-
Method Details
-
initializeDatabase
Ensure the database file and canonical schema exist. This method is idempotent and safe to call on application startup. It will create the parent folder for the DB file if necessary and apply the embedded SCHEMA statements.
-