Class JpaSpecificationExecutorTest.UserSpecifications
java.lang.Object
com.reallifedeveloper.tools.test.database.inmemory.JpaSpecificationExecutorTest.UserSpecifications
- Enclosing class:
JpaSpecificationExecutorTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.data.jpa.domain.PredicateSpecification<JpaSpecificationExecutorTest.User> active()static org.springframework.data.jpa.domain.PredicateSpecification<JpaSpecificationExecutorTest.User> lastNameIs(String lastName) static org.springframework.data.jpa.domain.PredicateSpecification<JpaSpecificationExecutorTest.User> olderThan(int age)
-
Constructor Details
-
UserSpecifications
public UserSpecifications()
-
-
Method Details
-
active
public static org.springframework.data.jpa.domain.PredicateSpecification<JpaSpecificationExecutorTest.User> active() -
lastNameIs
public static org.springframework.data.jpa.domain.PredicateSpecification<JpaSpecificationExecutorTest.User> lastNameIs(String lastName) -
olderThan
public static org.springframework.data.jpa.domain.PredicateSpecification<JpaSpecificationExecutorTest.User> olderThan(int age)
-