Update src/main/asciidoc/developer_documentation.adoc

Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
This commit is contained in:
Theo Reichert 2023-11-12 16:51:46 +01:00 committed by Simon Bruder
parent d40f5f00f1
commit 55cc6291b0
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -172,10 +172,10 @@ image:models/design/clientServer.svg[]
==== Persistence
The application uses *Hibernate annotation based mapping* to map Java classes to database tables. As a database, *H2* is used.
The persistence is deactivated by default. To activate persistence storage, the following two lines in the file _application.properties_ have to be uncommented:
The persistence is deactivated by default. To activate persistence storage, the following two lines in the file _application.properties_ have to be added:
....
# spring.datasource.url=jdbc:h2:./db/videoshop
# spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:h2:./db/catering
spring.jpa.hibernate.ddl-auto=update
....
==== User interface