@@ -0,0 +1,738 @@
+package bg.car_wash.configurations.database;%0A%0Aimport bg.car_wash.areas.car.entity.CarMakeModel;%0Aimport com.google.gson.Gson;%0Aimport com.google.gson.stream.JsonReader;%0A%0Aimport java.io.FileNotFoundException;%0Aimport java.io.FileReader;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0Apublic class InsertCars %7B%0A%0A%09private Gson gson;%0A%0A%09public InsertCars() throws FileNotFoundException %7B%0A%09%09this.gson = new Gson();%0A%09%7D%0A%0A%09public List%3CCarMakeModel%3E readJsonFile() throws FileNotFoundException %7B%0A%09%09JsonReader reader = new JsonReader(new FileReader(%22/home/ivanof/cars.json%22));%0A%09%09CarMakeModel%5B%5D carMakeModels = gson.fromJson(reader, CarMakeModel%5B%5D.class);%0A%09%09List%3CCarMakeModel%3E carMakeModel = Arrays.asList(carMakeModels);%0A%0A%09%09return carMakeModel;%0A%09%7D%0A%7D%0A

create insert default car model and make in database