Example usage for org.springframework.data.jpa.repository JpaSpecificationExecutor interface-usage

List of usage examples for org.springframework.data.jpa.repository JpaSpecificationExecutor interface-usage

Introduction

In this page you can find the example usage for org.springframework.data.jpa.repository JpaSpecificationExecutor interface-usage.

Usage

From source file com.github.lothar.security.acl.sample.jpa.CustomerRepository.java

public interface CustomerRepository extends JpaRepository<Customer, String>, JpaSpecificationExecutor<Customer> {

    Customer findByFirstName(String firstName);

    List<Customer> findByLastName(String lastName);

From source file no.dusken.common.service.GenericService.java

/**
 * Service offering generic methods that make sense on all AraneaObjects.
 * getAllEntities is not included since the ordering is important.
 */
@NoRepositoryBean
public interface GenericService<T extends DuskenObject>

From source file com.netflix.genie.core.jpa.repositories.JpaApplicationRepository.java

/**
 * Application repository.
 *
 * @author tgianos
 */
public interface JpaApplicationRepository

From source file org.lightadmin.core.persistence.repository.DynamicJpaRepository.java

@Transactional
public interface DynamicJpaRepository<T, ID extends Serializable>
        extends JpaRepository<T, ID>, JpaSpecificationExecutor<T> {
}

From source file carldav.repository.ItemRepository.java

public interface ItemRepository extends CrudRepository<Item, Long>, JpaSpecificationExecutor {

    List<Item> findByCollectionIdAndType(Long id, Item.Type type);

    List<Item> findByCollectionId(Long id);

From source file me.adaptive.core.data.repo.ProfileEntityRepository.java

/**
 * Created by panthro on 04/06/15.
 */
@Repository
public interface ProfileEntityRepository
        extends JpaRepository<ProfileEntity, Long>, JpaSpecificationExecutor<ProfileEntity> {

From source file me.adaptive.core.data.repo.UserRepository.java

/**
 * Created by panthro on 04/06/15.
 */
@Repository
public interface UserRepository extends JpaRepository<UserEntity, Long>, JpaSpecificationExecutor<UserEntity> {

From source file com.netflix.genie.server.repository.jpa.CommandRepository.java

/**
 * Command repository.
 *
 * @author tgianos
 */
public interface CommandRepository extends JpaRepository<Command, String>, JpaSpecificationExecutor {

From source file me.adaptive.core.data.repo.AccountRepository.java

/**
 * Created by panthro on 04/06/15.
 */
@Repository
public interface AccountRepository
        extends JpaRepository<AccountEntity, Long>, JpaSpecificationExecutor<AccountEntity> {

From source file com.sishuok.es.common.repository.UserRepository.java

/**
 * <p></p>
 * <p>User: 
 * <p>Date: 13-1-14 ?2:18
 * <p>Version: 1.0
 */