Browse Source

Fix typos

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
pull/2213/head
Tran Ngoc Nhan 4 weeks ago
parent
commit
1e5cf547fd
  1. 2
      README.adoc
  2. 2
      spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/config/AbstractJdbcConfiguration.java
  3. 2
      spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/config/AbstractR2dbcConfiguration.java
  4. 2
      spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/IdGeneration.java
  5. 4
      spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/OrderByField.java

2
README.adoc

@ -268,7 +268,7 @@ This will ignore the tests that require an explicit license acceptance. @@ -268,7 +268,7 @@ This will ignore the tests that require an explicit license acceptance.
./mvnw clean install -Pall-dbs,ignore-missing-license
----
If you want to run an integration tests against a different database you can do so by activating an apropriate Spring Profile.
If you want to run an integration tests against a different database you can do so by activating an appropriate Spring Profile.
Available are the following Spring Profiles:
`db2`, `h2`, `hsql` (default), `mariadb`, `mssql`, `mysql`, `oracle`, `postgres`

2
spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/config/AbstractJdbcConfiguration.java

@ -84,7 +84,7 @@ public class AbstractJdbcConfiguration implements ApplicationContextAware { @@ -84,7 +84,7 @@ public class AbstractJdbcConfiguration implements ApplicationContextAware {
}
/**
* Returns the a {@link RelationalManagedTypes} object holding the initial entity set.
* Returns a {@link RelationalManagedTypes} object holding the initial entity set.
*
* @return new instance of {@link RelationalManagedTypes}.
* @throws ClassNotFoundException

2
spring-data-r2dbc/src/main/java/org/springframework/data/r2dbc/config/AbstractR2dbcConfiguration.java

@ -101,7 +101,7 @@ public abstract class AbstractR2dbcConfiguration implements ApplicationContextAw @@ -101,7 +101,7 @@ public abstract class AbstractR2dbcConfiguration implements ApplicationContextAw
}
/**
* Returns the a {@link RelationalManagedTypes} object holding the initial entity set.
* Returns a {@link RelationalManagedTypes} object holding the initial entity set.
*
* @return new instance of {@link RelationalManagedTypes}.
* @throws ClassNotFoundException

2
spring-data-relational/src/main/java/org/springframework/data/relational/core/dialect/IdGeneration.java

@ -52,7 +52,7 @@ public interface IdGeneration { @@ -52,7 +52,7 @@ public interface IdGeneration {
* <p>
* This should be {@literal false} for most dialects. One notable exception is Oracle.
*
* @return {@literal true} if the a list of column names should get passed to the JDBC driver for which ids shall be
* @return {@literal true} if a list of column names should get passed to the JDBC driver for which ids shall be
* generated.
* @see Connection#prepareStatement(String, String[])
*/

4
spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/OrderByField.java

@ -67,7 +67,7 @@ public class OrderByField extends AbstractSegment { @@ -67,7 +67,7 @@ public class OrderByField extends AbstractSegment {
}
/**
* Creates a new {@link OrderByField} from a the current one using ascending sorting.
* Creates a new {@link OrderByField} from the current one using ascending sorting.
*
* @return the new {@link OrderByField} with ascending sorting.
* @see #desc()
@ -77,7 +77,7 @@ public class OrderByField extends AbstractSegment { @@ -77,7 +77,7 @@ public class OrderByField extends AbstractSegment {
}
/**
* Creates a new {@link OrderByField} from a the current one using descending sorting.
* Creates a new {@link OrderByField} from the current one using descending sorting.
*
* @return the new {@link OrderByField} with descending sorting.
* @see #asc()

Loading…
Cancel
Save