diff options
author | 2019-08-16 13:42:43 +0200 | |
---|---|---|
committer | 2019-08-16 13:58:00 +0200 | |
commit | cd98ec039314de7994eb9b739b1618beb9c77cfa (patch) | |
tree | db031967d01b2e25cfcf4f7ce924bfd51b163179 /portal-BE/src/main/resources | |
parent | 0c2a54db354573a07291444e98b7b5175b9cd32e (diff) |
Portal Spring Boot version Hibernate implementation
Create classes that represent tables in the original database.
Imports fix
Issue-ID: PORTAL-705
Change-Id: I6910b57bfdcb14c74b8afc7b9953e585433dd2b2
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
Diffstat (limited to 'portal-BE/src/main/resources')
-rw-r--r-- | portal-BE/src/main/resources/application.properties | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/portal-BE/src/main/resources/application.properties b/portal-BE/src/main/resources/application.properties index 8b137891..27893d81 100644 --- a/portal-BE/src/main/resources/application.properties +++ b/portal-BE/src/main/resources/application.properties @@ -1 +1,10 @@ - +spring.jpa.database=mysql +spring.jpa.show-sql=true +spring.jpa.hibernate.ddl-auto=update +spring.h2.console.enabled=true +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.datasource.initialization-mode=always +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
\ No newline at end of file |