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
Post a Comment