Example usage for org.springframework.data.repository.core.support PropertiesBasedNamedQueries EMPTY

List of usage examples for org.springframework.data.repository.core.support PropertiesBasedNamedQueries EMPTY

Introduction

In this page you can find the example usage for org.springframework.data.repository.core.support PropertiesBasedNamedQueries EMPTY.

Prototype

NamedQueries EMPTY

To view the source code for org.springframework.data.repository.core.support PropertiesBasedNamedQueries EMPTY.

Click Source Link

Usage

From source file:com.sinosoft.one.data.jpa.repository.support.OneRepositoryFactorySupport.java

/**
 * Configures a {@link org.springframework.data.repository.core.NamedQueries} instance to be handed to the {@link org.springframework.data.repository.query.QueryLookupStrategy} for query creation.
 *
 * @param namedQueries the namedQueries to set
 *///from  w  w w.  j a v a2s. c o  m
public void setNamedQueries(NamedQueries namedQueries) {
    this.namedQueries = namedQueries == null ? PropertiesBasedNamedQueries.EMPTY : namedQueries;
}