First, great tutorial! but i've been having trouble getting Liquibase to install the data. It works great when creating the student and course tables, but doesn't install "Alice", "Bob" "Charlie" or the courses. I grabbed our source code, hooked up with my MYSQL, created the tables but the inserts were not performed. ANy ideas as to why?
Thanks. That's strange because the table creation and row inserts are in the same changeSet so they will happen all or none. Are you getting an error when starting the project? Also, you are using MySQL as the database, right? Just making sure
Thank you, Vlad, for your tutorial. It have been very usefull for me. But I have an issue, maybe you can help me. I have similar tables. I have student, courses and I need to store scores. How can I Add and Use the third column in m2m relationship? In the result I need to send with get Request something like this: { Student-id, Student-name, Student-courses:{ course-id, course-name, course-scores } }
You can create a new entity for scores and then do a new relationship from student to score. It can be ManyToMany but for scores I think OneToMany is more appropriate
Yeah thanks a lot
First, great tutorial! but i've been having trouble getting Liquibase to install the data. It works great when creating the student and course tables, but doesn't install "Alice", "Bob" "Charlie" or the courses. I grabbed our source code, hooked up with my MYSQL, created the tables but the inserts were not performed. ANy ideas as to why?
Thanks. That's strange because the table creation and row inserts are in the same changeSet so they will happen all or none. Are you getting an error when starting the project? Also, you are using MySQL as the database, right? Just making sure
Hi! Do you have time today? My app that is based on your video has a little problem.
I responded to your email, check it out
Thank you, Vlad, for your tutorial. It have been very usefull for me. But I have an issue, maybe you can help me. I have similar tables. I have student, courses and I need to store scores. How can I Add and Use the third column in m2m relationship?
In the result I need to send with get Request something like this: {
Student-id,
Student-name,
Student-courses:{
course-id,
course-name,
course-scores
}
}
You can create a new entity for scores and then do a new relationship from student to score. It can be ManyToMany but for scores I think OneToMany is more appropriate