Skip to content

Commit fbd64f7

Browse files
adding hibernate equity
1 parent c46332e commit fbd64f7

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package guru.springframework.spring6webapp.repositories;
2+
3+
import guru.springframework.spring6webapp.domain.Author;
4+
import org.springframework.data.repository.CrudRepository;
5+
6+
/**
7+
* Created by jt, Spring Framework Guru.
8+
*/
9+
public interface AuthorRepository extends CrudRepository<Author, Long> {
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package guru.springframework.spring6webapp.repositories;
2+
3+
import guru.springframework.spring6webapp.domain.Book;
4+
import org.springframework.data.repository.CrudRepository;
5+
6+
/**
7+
* Created by jt, Spring Framework Guru.
8+
*/
9+
public interface BookRepository extends CrudRepository<Book, Long> {
10+
}

0 commit comments

Comments
 (0)