Skip to content

jimador/spring-data-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utilities for Spring Data

CircleCI

A playground for Spring Data for fun and profit.

MoreSpecifications

Convenience class for constructing org.springframework.data.jpa.domain.Specification instances

Specification<MyEntity> someSpec = Specification.where(MoreSpecifications.valueIn(root -> root.get("someThing"), someCollection))
                                                .and(MoreSpecifications.startsWith(root -> root.get("someField"), "foo"))
                                                .or(MoreSpecifications.like(root -> root.get("someOtherField"), "bar"));

About

Utilities for Spring Data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published