public class DMSPermissionRepository extends JpaRepository<DMSPermission>
modelClass| Constructor and Description |
|---|
DMSPermissionRepository() |
| Modifier and Type | Method and Description |
|---|---|
DMSPermission |
save(DMSPermission entity)
Save the given entity.
|
public DMSPermission save(DMSPermission entity)
RepositoryDepending on the implementation, it may return same entity or a copy of it. For example JPA implementation may return a copy if the given entity can't be managed.
save in interface Repository<DMSPermission>save in class JpaRepository<DMSPermission>entity - the entity object to save