From cd98ec039314de7994eb9b739b1618beb9c77cfa Mon Sep 17 00:00:00 2001 From: Dominik Mizyn Date: Fri, 16 Aug 2019 13:42:43 +0200 Subject: 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 --- portal-BE/src/main/resources/application.properties | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'portal-BE/src/main/resources') 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 -- cgit 1.2.3-korg