Events and JPA Events Reposytory
parent
0b942ace1b
commit
91a3961a08
|
@ -8,7 +8,7 @@ import org.springframework.data.repository.PagingAndSortingRepository;
|
||||||
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
|
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
//@RepositoryRestResource(collectionResourceRel = "events", path = "events")
|
@RepositoryRestResource(collectionResourceRel = "events", path = "events")
|
||||||
public interface EventsJpaRepository extends PagingAndSortingRepository<Event, Long> {
|
public interface EventsJpaRepository extends PagingAndSortingRepository<Event, Long> {
|
||||||
|
|
||||||
Event save(Event event);
|
Event save(Event event);
|
||||||
|
|
Reference in New Issue