Class SqlGenerate

java.lang.Object
com.studentgui.apphelpers.SqlGenerate

public class SqlGenerate extends Object
Utility responsible for creating/validating the on-disk SQLite database and canonical schema used by the application. Safe to call multiple times.
  • Method Details

    • initializeDatabase

      public static void 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.