-
Bug
-
Resolution: Done
-
Major
-
2.13.0.Final
-
None
I used forge to generate JAX-RS endpoints from Entities (those were created by reversed engineering from H2 database). Entity contains primitive long type for ID. In generated JAX-RS endpoint there is a method update which looks like this
public Response update(@PathParam("id") long id, ConferenceDTO dto)
even though there is a primitive long ID as parameter, the method generate this code
(!id.equals(dto.getId()))
which is wrong.