mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Update src/main/asciidoc/developer_documentation.adoc
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
This commit is contained in:
parent
d40f5f00f1
commit
55cc6291b0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue