Class ReservationPostgresRepository

java.lang.Object
io.github.marcopaglio.booking.repository.postgres.ReservationPostgresRepository
All Implemented Interfaces:
ReservationRepository

public class ReservationPostgresRepository extends Object implements ReservationRepository
Implementation of repository layer through PostgreSQL for Reservation entities of the booking application.
  • Constructor Details

    • ReservationPostgresRepository

      public ReservationPostgresRepository(jakarta.persistence.EntityManager em)
      Constructs a repository layer for Reservation entities using PostgreSQL database.
      Parameters:
      em - the EntityManager used to communicate with PostgreSQL database.
  • Method Details