JPA Specification, Dynamic queries
1. Simple Specification: Student class: package az.etibarli.jpa_specification.entity ; import jakarta.persistence. Entity ; import jakarta.persistence. GeneratedValue ; import jakarta.persistence.GenerationType ; import jakarta.persistence. Id ; import lombok. Data ; import lombok. RequiredArgsConstructor ; import lombok.experimental. FieldNameConstants ; import java.math.BigDecimal ; import java.time.LocalDate ; @Data @Entity @FieldNameConstants @RequiredArgsConstructor public class Student { @Id @GeneratedValue (strategy = GenerationType. IDENTITY ) private Long id ; private String name ; private String surname ; private String pinCode ; private Double gpa ; private LocalDate birthdate ; private BigDecimal scholarship ; } Student repository: package az.etibarli.jpa_specification.repository ; import az.etibarli.jpa_specification.entity.Student ; import org.springframework.data.jpa.repository.JpaRepository ; import org.springframework.data.jpa.reposi...