src/main/java/com/cellulant/daos/MileageDao.java
public Boolean save(Mileage mileage) {
        //Initialize Flag to False
        flag = Boolean.FALSE;

        // drop if table exists
        //dropTable();

        // create if table doesn't exist
        //createTable();

        //insert data into table created
        insert(mileage);

        //Set Flag to True when done inserting
        flag = Boolean.TRUE;

        return flag;
    }
/**
     * *
     *
     * This method Saves the Retrieved Data into Database
     *
     * @param mileage
     * @return
     */
This method Saves the Retrieved Data into Database

@param mileage
@return
This method Saves the Retrieved Data into Database @param mileage @return
public Boolean save(Mileage mileage) {
        flag = Boolean.FALSE;
        insert(mileage);
        flag = Boolean.TRUE;
        return flag;
    }
public Boolean save ( Mileage mileage ) { flag = Boolean . FALSE ; insert ( mileage ) ; flag = Boolean . TRUE ; return flag ; }
This method Saves the Retrieved Data into Database
This method Saves the Retrieved Data into Database
//Initialize Flag to False // drop if table exists //dropTable(); // create if table doesn't exist //createTable(); //insert data into table created //Set Flag to True when done inserting