src/com/vehiclerental/dataLayer/sqliteImplementation/OrmLiteHelper.java
/**
     * Creates the Booking table and generates default values
     *
     * @param dao ORMLite booking data access object
     */
Creates the Booking table and generates default values
@param dao ORMLite booking data access object
Creates the Booking table and generates default values @param dao ORMLite booking data access object
private void initializeBookingTable(Dao<Booking, Integer> dao) {
        try {
            TableUtils.createTable(OrmLiteConnectionSingleton.getInstance(), Booking.class);
        } catch (SQLException e) {
            System.out.println("Error initializing user table");
            e.printStackTrace();
        }
    }
private void initializeBookingTable ( Dao < Booking , Integer > dao ) { try { TableUtils . createTable ( OrmLiteConnectionSingleton . getInstance ( ) , Booking . class ) ; } catch ( SQLException e ) { System . out . println ( "Error initializing user table" ) ; e . printStackTrace ( ) ; } }
Creates the Booking table and generates default values
 @param dao ORMLite booking data access object
Creates the Booking table and generates default values @param dao ORMLite booking data access object