Example usage for org.springframework.data.repository.query QueryMethod getNamedQueryName

List of usage examples for org.springframework.data.repository.query QueryMethod getNamedQueryName

Introduction

In this page you can find the example usage for org.springframework.data.repository.query QueryMethod getNamedQueryName.

Prototype

public String getNamedQueryName() 

Source Link

Document

Returns the name of the named query this method belongs to.

Usage

From source file:egov.data.ibatis.repository.query.SqlMapQuery.java

public SqlMapQuery(QueryMethod queryMethod, SqlMapExecutorDelegate delegate,
        SqlMapClientTemplate sqlMapClientTemplate) {
    this.queryMethod = queryMethod;
    this.template = sqlMapClientTemplate;

    // iBatis? statement(query)? (select, insert, update, delete) 
    MappedStatement statement = delegate.getMappedStatement(queryMethod.getNamedQueryName());
    this.statementType = statement.getStatementType();
}