Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| java:springmvc:paris-h2 [2018/09/20 00:45] – créée jcheron | java:springmvc:paris-h2 [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 4: | Ligne 4: | ||
| ===== Outils/ | ===== Outils/ | ||
| * Spring MVC | * Spring MVC | ||
| + | * SpringBoot | ||
| * Maven | * Maven | ||
| * Hibernate | * Hibernate | ||
| Ligne 10: | Ligne 11: | ||
| * UI-Kit | * UI-Kit | ||
| + | ===== Création ===== | ||
| + | Créer le projet à partir de [[https:// | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Importation ==== | ||
| + | Dézipper l' | ||
| + | A partir d' | ||
| + | |||
| + | ==== Configuration ==== | ||
| + | |||
| + | Modifier le fichier de configuration de l' | ||
| + | |||
| + | < | ||
| + | spring.datasource.url=jdbc: | ||
| + | spring.datasource.username=sa | ||
| + | spring.datasource.password= | ||
| + | spring.datasource.driverClassName=org.h2.Driver | ||
| + | spring.jpa.hibernate.ddl-auto=update | ||
| + | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect | ||
| + | |||
| + | spring.h2.console.enabled=true | ||
| + | spring.h2.console.path=/ | ||
| + | |||
| + | # Mustache Template engine | ||
| + | spring.mustache.prefix=classpath:/ | ||
| + | spring.mustache.suffix=.html | ||
| + | </ | ||