Created
September 30, 2022 06:41
-
-
Save Abhi-Codes/e7955472b67c7b2c9524462c4f4addbe to your computer and use it in GitHub Desktop.
Repository Interface extending JPARepository and QueryDSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.abhicodes.querydsldynamicquery.repository; | |
import org.springframework.data.jpa.repository.JpaRepository; | |
import org.springframework.data.querydsl.QuerydslPredicateExecutor; | |
import org.springframework.stereotype.Repository; | |
import com.abhicodes.querydsldynamicquery.entity.Post; | |
@Repository | |
public interface PostRepository extends JpaRepository<Post, Integer>, QuerydslPredicateExecutor<Post> { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment