forked from ankit-agrawal11/hibernate-gorm-poc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeff Scott Brown
committed
Dec 24, 2017
1 parent
2fba8d1
commit 0ba9b60
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.foo.utils | ||
|
||
import com.foo.user.User | ||
import grails.gorm.services.Service | ||
|
||
@Service(User) | ||
interface UserService { | ||
int count() | ||
|
||
User saveUser(User user) | ||
} |
0ba9b60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeffbrown can you please add documentation for the use of GORM method like
delete
anddeleteAll