committed by
Mark Paluch
parent
80af6711ea
commit
a3b24e4fec
@@ -119,7 +119,7 @@ public class MyBatisDataAccessStrategy implements DataAccessStrategy {
|
||||
* Use a {@link SqlSessionTemplate} for {@link SqlSession} or a similar implementation tying the session to the proper
|
||||
* transaction. Note that the resulting {@link DataAccessStrategy} only handles MyBatis. It does not include the
|
||||
* functionality of the {@link DefaultDataAccessStrategy} which one normally still wants. Use
|
||||
* {@link #createCombinedAccessStrategy(RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations, SqlSession, NamespaceStrategy, Dialect)}
|
||||
* {@link #createCombinedAccessStrategy(RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations, SqlSession, NamespaceStrategy, Dialect, QueryMappingConfiguration)}
|
||||
* to create such a {@link DataAccessStrategy}.
|
||||
*
|
||||
* @param sqlSession Must be non {@literal null}.
|
||||
|
||||
@@ -26,10 +26,11 @@ import org.springframework.jdbc.core.ResultSetExtractor;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Annotation to provide SQL statements that will get used for executing the method. The SQL statement may contain named
|
||||
* parameters as supported by {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}. Those
|
||||
* parameters will get bound to the arguments of the annotated method.
|
||||
* <p>
|
||||
* </p><p>
|
||||
* You can also specify the way to extract data from {@link java.sql.ResultSet}. There are 4 attribute of this
|
||||
* annotation you can set to do that:
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user