File tree Expand file tree Collapse file tree
main/java/org/apache/cayenne/configuration/runtime
test/java/org/apache/cayenne/access Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public CoreModuleExtender externalTransactions() {
119119 * @param columnName the name of the BOOLEAN column marking soft-deleted rows
120120 * @since 5.0
121121 */
122- public CoreModuleExtender useSoftDeleteIfColumnPresent (String columnName ) {
122+ public CoreModuleExtender softDeleteIfColumnPresent (String columnName ) {
123123 binder .bind (DeleteDbRowOpFactory .class ).toInstance (new ConditionalSoftDeleteDbRowOpFactory (columnName ));
124124 return this ;
125125 }
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public class SoftDeleteIT {
3939 @ RegisterExtension
4040 static final CayenneTestsEnv env = CayenneTestsEnv
4141 .forProject (CayenneProjects .SOFT_DELETE_PROJECT )
42- .withExtraModules (b -> CoreModule .extend (b ).useSoftDeleteIfColumnPresent ("DELETED" ));
42+ .withExtraModules (b -> CoreModule .extend (b ).softDeleteIfColumnPresent ("DELETED" ));
4343
4444 private TableHelper tSoftDelete ;
4545
You can’t perform that action at this time.
0 commit comments