navinreddy20 / quiz-app-spring

32 stars 61 forks source link

ManytoMany relation is not working for mySQL #14

Open babloo004 opened 1 month ago

babloo004 commented 1 month ago

the manytomany relation is not working for mySQL users. quiz questions ids are not mapping, the quiz_questions table is empty

unni143 commented 2 weeks ago

use this its works fine with mysql

spring.application.name=quizapp spring.jpa.hibernate.ddl-auto=update spring.datasource.url=jdbc:mysql://localhost:3306/questionsdb spring.datasource.username=root spring.datasource.password= spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL8Dialect spring.jpa.properties.hibernate.dialect.storage_engine=innodb

babloo004 commented 1 week ago

use this its works fine with mysql

spring.application.name=quizapp spring.jpa.hibernate.ddl-auto=update spring.datasource.url=jdbc:mysql://localhost:3306/questionsdb spring.datasource.username=root spring.datasource.password= spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL8Dialect spring.jpa.properties.hibernate.dialect.storage_engine=innodb

Thank you