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

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 1

  • @thehappydeveloperguide
    @thehappydeveloperguide  12 วันที่ผ่านมา +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.