import persystencji

This commit is contained in:
root
2018-07-01 21:49:18 +02:00
parent be2e00956f
commit 913e87820e
3 changed files with 26 additions and 0 deletions

10
persistence/jpa.persist Normal file
View File

@@ -0,0 +1,10 @@
Strategies {
default = everyChange
}
Items {
// persist all items once a day and on every change and restore them from the db at startup
* : strategy = everyChange, everyDay, restoreOnStartup
}