7. Building a Fast and Scalable Spring Boot Application with Redis

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 1

  • @thehappydeveloperguide
    @thehappydeveloperguide  24 дня назад +11

    Hi for the spring-boot-starter-data-jpa dependency I made a mistake by saying we need jpql to define repositories. I mean we need the JPA ( Jakarta Persistence API ) to define the repositories which allow us to use JPQL (Jakarta Persistence Query Language ) to execute queries. So my bad ! :). Those are formers Java Persistence API and Java Persistence Query Language. The advantage of using JPA ans JOQL queries is that - if we change the data source e.g. we change it from Redis to PostgreSQL the queries and the application will still work. So it provide us with abstraction over the data source of the application.