Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| java:springmvc:paris-h2 [2018/09/20 00:51] – jcheron | java:springmvc:paris-h2 [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 13: | Ligne 13: | ||
| ===== Création ===== | ===== Création ===== | ||
| Créer le projet à partir de [[https:// | 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 | ||
| + | </ | ||