Spring Data JPA Specification with Generics -


i build filterable datagrid using spring data jpa , specifications.general use of specificationsin way

public class userspecification implements specification <user> {   @override   public predicate topredicate     (root<user> root, criteriaquery<?> query, criteriabuilder builder)  } 

but want use specifications in generic types. can use in such structure

public class userspecification implements specification <t> {   @override   public predicate topredicate     (root<user> root, criteriaquery<?> query, criteriabuilder builder)  } 


Comments

Popular posts from this blog

php - Displaying JSON data posts for blog using just the post id -

docusignapi - Documents restrictions within a package -

javascript - angular.forEach loop with $http.get -