SPRINGBOOT H2 DATABASE | WEB APP| CRUD OPERATIONS | INSERT | EDIT | DELETE | THYMLEAF| OKAYJAVA

Publicado em: 26 Abril 2020
no canal de: okay java
15,421
201

SPRINGBOOT H2 DATABASE | WEB APP| CRUD OPERATIONS | INSERT | EDIT | DELETE | THYMLEAF| OKAYJAVA

Application.properties
Persist data in file
Create a folder on c:// with name h2db
H2 will automatically create my_data_file
spring.datasource.url=jdbc:h2:file:C:/h2db/my_data_file
#spring.datasource.url = jdbc:h2:mem:h2db
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
Run data.sql and schema.sql on start
spring.sql.init.mode=always
spring.jpa.show-sql=true
enabled by default.
spring.jpa.open-in-view=false
Enable H2 Console - http://localhost:8080/h2-console
spring.h2.console.enabled=true
Console path - http://localhost:8080/h2
spring.h2.console.path=/h2

DOWNLOAD PROJECT
https://drive.google.com/open?id=1GBj...


Nesta página do site você pode assistir ao vídeo on-line SPRINGBOOT H2 DATABASE | WEB APP| CRUD OPERATIONS | INSERT | EDIT | DELETE | THYMLEAF| OKAYJAVA duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário okay java 26 Abril 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 15,421 vezes e gostou 201 espectadores. Boa visualização!