Browse Source

Fix JavaDoc errors.

Original pull request #1893
See #1006
pull/2065/head
Jens Schauder 7 months ago committed by Mark Paluch
parent
commit
a3b24e4fec
No known key found for this signature in database
GPG Key ID: 55BC6374BAA9D973
  1. 2
      spring-data-jdbc/src/main/java/org/springframework/data/jdbc/mybatis/MyBatisDataAccessStrategy.java
  2. 3
      spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/query/Query.java

2
spring-data-jdbc/src/main/java/org/springframework/data/jdbc/mybatis/MyBatisDataAccessStrategy.java

@ -119,7 +119,7 @@ public class MyBatisDataAccessStrategy implements DataAccessStrategy { @@ -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}.

3
spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/query/Query.java

@ -26,10 +26,11 @@ import org.springframework.jdbc.core.ResultSetExtractor; @@ -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>

Loading…
Cancel
Save