Browse Source

Merge branch '5.1.x'

pull/22596/head
Stephane Nicoll 6 years ago
parent
commit
4b5c370701
  1. 4
      spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java

4
spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2018 the original author or authors. * Copyright 2002-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -30,7 +30,7 @@ import org.springframework.lang.Nullable;
* In the general case, the keys are returned as a List containing one Map * In the general case, the keys are returned as a List containing one Map
* for each row of keys. * for each row of keys.
* *
* <p>Most applications only use on key per row and process only one row at a * <p>Most applications only use one key per row and process only one row at a
* time in an insert statement. In these cases, just call {@code getKey} * time in an insert statement. In these cases, just call {@code getKey}
* to retrieve the key. The returned value is a Number here, which is the * to retrieve the key. The returned value is a Number here, which is the
* usual type for auto-generated keys. * usual type for auto-generated keys.

Loading…
Cancel
Save