Jean-Francois Leveque

Suppression de Book* dans entities.

package org.legrog.entities;
import javax.persistence.*;
@Entity
public class Book {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private int bookId;
private String bookTitle;
public int getBookId() {
return bookId;
}
public void setBookId(int bookId) {
this.bookId = bookId;
}
public String getBookTitle() {
return bookTitle;
}
public void setBookTitle(String bookName) {
this.bookTitle = bookName;
}
@Override
public String toString() {
return "Book{" +
"bookId=" + bookId +
", bookTitle='" + bookTitle + '\'' +
'}';
}
}
package org.legrog.entities;
import org.springframework.data.jpa.repository.JpaRepository;
public interface BookRepository extends JpaRepository<Book, Integer> {
}