Polishing.

Adds `@since` annotation.

Original pull request #2169
This commit is contained in:
Jens Schauder
2021-03-08 11:31:14 +01:00
parent 096f406508
commit 21aacca097

View File

@@ -146,6 +146,7 @@ public interface JpaRepository<T, ID> extends PagingAndSortingRepository<T, ID>,
* @param id must not be {@literal null}.
* @return a reference to the entity with the given identifier.
* @see EntityManager#getReference(Class, Object) for details on when an exception is thrown.
* @since 2.5
*/
T getById(ID id);