So, i have class, annotated with entity and when i start Spring boot application i expect Hibernate to create Table in h2, but i see nothing h2 Spring application properties got only spring.h2.console.enabled=true
my class looks like
@Entity
public class Author {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
private String firstName;
private String lastName;
private Set<Book> books = new HashSet<>();
public Author() {
}
please Halp