Last active
October 19, 2021 04:14
-
-
Save rlubke/478756ebdcfe5427d42b22593a69077a to your computer and use it in GitHub Desktop.
Repository with a generated query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@CoherenceRepository("tasks") | |
public abstract class TaskRepository | |
extends AbstractCoherenceRepository<Task, String> | |
{ | |
/** | |
* Delete all {@link Task}s that have been completed. | |
*/ | |
public abstract void deleteByCompletedTrue(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment