0
I am working on an application in Eclipse, which is a note manager with CRUD operations, which also includes login and registration. In my database, Mysql, I created four different entities: "users", "all", "purchases", "tasks"(general). When there were only 2 entities, that is, the "users" and the "all", the application was working correctly. However, when I added the other two entities and their Java code, when running the program, in Tomcat, it does not insert me in the new entities created in my database, it continues to assume me the entity "all". In addition, I am basing myself on the MVC model for the realization of this application, thus using Servlets and jsps.
For the creation of this application, I based on the following website, which contains the explanation of the code in 3 steps: https://www.javaguides.net/2019/03/jsp-servlet-jdbc-mysql-crud-example-tutorial.html
The only difference was I actually adapted it to more entities, which the program isn’t taking over. As you can see from the images, I have three different notes "cutlery", "distributed systems" and "geography" and it’s me all listed in the tests, which corresponds to the entity "all" (as you can see on the console), when the cutlery, for example, should appear in my shopping listing, in my other entity.