Spring Boot – Spring Data JPA with Hibernate and H2 Web Console

You may also like...

4
Leave a Reply

avatar
4 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
Colichandu sekhar Recent comment authors
  Subscribe  
newest oldest
Notify of
chandu sekhar
Guest
chandu sekhar

could you please tell me how the data is inserted into db without performing any operation from ourside? and one more thing is i got an error that table not found exception

chandu sekhar
Guest
chandu sekhar

JdbcSQLException: Table “TBL_BOOK” not found; SQL statement:
INSERT INTO tbl_book (id, name, price) VALUES

Coli
Guest
Coli

This only works if the entities are in the same package (or in a sub-package) than the one of the class Application.
If not, the annotation @EntityScan must be used in the class Application.

Coli
Guest
Coli

This only works if the entities are in the same package (or in a sub-package) than the one of the class Application.
If not, the annotation @EntityScan must be used in the class Application.