+ 1

Insert two forms in the same database same row(spring boot)

So i have a s sign up form and a register form that a new user should fill , but when he fills it the data got sent to different rows even tho he’s the same user and these two forms are in the same entity. Help please !

31st Mar 2024, 4:51 AM
Kawtar
Kawtar - avatar
3 Respostas
+ 2
Ok, so I really don't know what sort of help you expect. Encouragement? Doctors typically don't do brain surgery through the telephone. Same way it would take a crook or a psychic to advise you on code that you are not showing. :)
1st Apr 2024, 5:24 AM
Tibor Santa
Tibor Santa - avatar
+ 1
"register" and "sign up" mean the same thing: when a new user wants to start using a service. I am not sure what you mean by "the same user" when the user is new. You did not post any code, so you can't really expect someone to tell you where you made a mistake. You can find plenty of online tutorials in this topic, maybe try to complete one of them and learning the "how", you will be able to apply it to your current task. https://www.javaguides.net/2018/10/user-registration-module-using-springboot-springmvc-springsecurity-hibernate5-thymeleaf-mysql.html?m=1
31st Mar 2024, 1:03 PM
Tibor Santa
Tibor Santa - avatar
0
I mean tge sign up form is just for email password and the register for the other specific details, i can’t post the code cuz it contains a lot of classes its gonna be messy
31st Mar 2024, 11:52 PM
Kawtar
Kawtar - avatar