List of usage examples for org.springframework.data.repository.core.support PropertiesBasedNamedQueries EMPTY
NamedQueries EMPTY
To view the source code for org.springframework.data.repository.core.support PropertiesBasedNamedQueries EMPTY.
Click Source Link
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; }