Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend JpaRepository instead of PagingAndSortingRepository #161

Open
nikolatx opened this issue Jun 19, 2024 · 1 comment
Open

Extend JpaRepository instead of PagingAndSortingRepository #161

nikolatx opened this issue Jun 19, 2024 · 1 comment

Comments

@nikolatx
Copy link

Hi,
It would be very nice to extend JpaRepository instead of PagingAndSortingRepository in order to enable saveAndFlush()/flush() metods. Or is there another way to do saveAndFlush()?

@darrachequesne
Copy link
Owner

Hi! The DataTablesRepository interface already extends JpaRepository:

public interface DataTablesRepository<T, ID extends Serializable>
extends PagingAndSortingRepository<T, ID>, JpaSpecificationExecutor<T>, JpaRepository<T, ID> {

Or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants