PAN-60 Fixed an issue with the connection to the database

This commit is contained in:
2019-03-10 12:47:05 -06:00
parent c826185bba
commit f617ee7bd9
4 changed files with 4 additions and 4 deletions
@@ -7,5 +7,5 @@ import org.springframework.stereotype.Component;
@Component @Component
@AllArgsConstructor @AllArgsConstructor
public class NotationController { public class NotationController {
final private NotationRepository notationRepository; private final NotationRepository notationRepository;
} }
@@ -7,5 +7,5 @@ import org.springframework.stereotype.Component;
@Component @Component
@AllArgsConstructor @AllArgsConstructor
public class ProofController { public class ProofController {
final private ProofRepository proofRepository; private final ProofRepository proofRepository;
} }
@@ -7,5 +7,5 @@ import org.springframework.stereotype.Component;
@Component @Component
@AllArgsConstructor @AllArgsConstructor
public class TheoremController { public class TheoremController {
final private TheoremRepository theoremRepository; private final TheoremRepository theoremRepository;
} }
@@ -1,6 +1,6 @@
spring.jpa.hibernate.ddl-auto = none spring.jpa.hibernate.ddl-auto = none
spring.jpa.database=mysql spring.jpa.database=mysql
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/pandamonium?autoReconnect=true&useSSL=false spring.datasource.url=jdbc:mysql://127.0.0.1:3306/pandamonium?autoReconnect=true&useSSL=false&serverTimezone=UTC
spring.datasource.username=panda spring.datasource.username=panda
spring.datasource.password=secret spring.datasource.password=secret
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver