Skip to content

Commit e69e3e5

Browse files
committed
Deprecate IdOnlyAggregateReference.
Closes #2107
1 parent f860f70 commit e69e3e5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/mapping/AggregateReference.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ static <T, ID> AggregateReference<T, ID> to(ID id) {
5454
*
5555
* @param <T>
5656
* @param <ID>
57+
* @deprecated since 3.5.3, will be converted to a package-private class in 4.0 as this class is an implementation
58+
* detail and should not be used by application code.
5759
*/
60+
@Deprecated(since = "3.5.3", forRemoval = true)
5861
class IdOnlyAggregateReference<T, ID> implements AggregateReference<T, ID> {
5962

6063
private final ID id;

0 commit comments

Comments
 (0)