You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping/event/BeforeConvertCallback.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
20
20
/**
21
21
* An {@link EntityCallback} that gets invoked before the aggregate is converted into a database change. The decision if
22
-
* the change will be an insert or update is made before this callback gets called.
22
+
* the change will be an insert or update is made after this callback gets called.
Copy file name to clipboardExpand all lines: spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping/event/BeforeSaveCallback.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,9 @@ public interface BeforeSaveCallback<T> extends EntityCallback<T> {
32
32
/**
33
33
* Entity callback method invoked before an aggregate root is saved. Can return either the same or a modified instance
34
34
* of the aggregate and can modify {@link MutableAggregateChange} contents. This method is called after converting the
35
-
* {@code aggregate} to {@link MutableAggregateChange}. Changes to the aggregate are not taken into account for
36
-
* saving. Use the {@link BeforeConvertCallback} to change the persistent the entity before being converted.
35
+
* {@code aggregate} to {@link MutableAggregateChange}. Changes to the aggregate are not taken into account to decide
36
+
* whether the change will be an insert or update. Use the {@link BeforeConvertCallback} to change the persistent the
37
+
* entity before being converted.
37
38
*
38
39
* @param aggregate the aggregate.
39
40
* @param aggregateChange the associated {@link MutableAggregateChange}.
0 commit comments