I'm trying to write a controller that will function as multiple seat reservation.The Integers list is used for filtering. My Entity looks like this:
@Entity
@Id
private movieId;
private String movieName;
private String cinemaName;
private String cinemaHall;
private Intger seatingPlace;
private boolean booked;
How Can I pass list or sets in request body to access multiple update seatingPlace. Did I modyfing Enity or connect in smthing relation?
Acutally my multipleUpdate API works using JPA Query findByMovieNameAndCinemaNameAndcinemaHall and return me list wchich I checking isnt Empty and cheking (field boolean booked) if true so ok u can booked them. And after that i want filter by passing List seatingPlace and change boolen to false.