Last active
October 6, 2022 15:52
-
-
Save thomasmartin-whoz/38da61fed557a6aac461d668b879f97f to your computer and use it in GitHub Desktop.
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
class PersonGormRepositoryService implements PersonRepository { | |
@Override | |
Workspace findByFirstName(@NotNull String firstName) { | |
return Person.withStatelessSession { Person.findByFirstName(firstName) } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment