Skip to content

Commit df60185

Browse files
committed
Deprecate RowDocumentAccessor.document().
This method was never intended to be exposed (record-style accessor) as there is getDocument(). See #1781
1 parent 110e3ee commit df60185

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spring-data-relational/src/main/java/org/springframework/data/relational/core/conversion/RowDocumentAccessor.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@ String getColumnName(RelationalPersistentProperty prop) {
111111
return prop.getColumnName().getReference();
112112
}
113113

114+
/**
115+
* @deprecated since 3.2.6, this method was not intended to be exposed publicly. Use {@link #getDocument()} instead.
116+
*/
117+
@Deprecated(since = "3.2.6", forRemoval = true)
118+
public RowDocument document() {
119+
return document;
120+
}
121+
114122
@Override
115123
public boolean equals(Object obj) {
116124
if (obj == this)

0 commit comments

Comments
 (0)