I already understood where the problem comes from. In the names() method I am telling it to return an arraylist of usermodel, but that usermodel only has the firstname parameter; id, lastname and email are empty, that’s why it generates a conflict.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Hibernate Error: Unable to find column position by name | 3 | 270 | August 14, 2025 | |
| Hibernate duplicate SQL alias issue | 3 | 1384 | September 6, 2023 | |
| How to fix “Unable to find column with logical name” in Java, Hibernate | 11 | 23917 | March 25, 2019 | |
| Table "table_name" not found | 4 | 1799 | December 12, 2023 | |
| Miss matched columns in 2-table join query | 1 | 65 | March 19, 2025 |