Ask questions and see you at February, 8th, 8.PM. CET: https://vimeo.com/event/154379
Also checkout recent episode:
Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions. Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks
I'm using json to send to a jaxrs endpoint which updates data in my db.
I want to be able to send partial requests (so no all attributes of an entity) so I can e.g. update only one attribute.
Currently I'm doing this by checking for null value in the DTO and not setting the related attribute in the JPA entity.
But then I cannot set an JPA entity attribute to null. Also there are a LOT of null checks as I have many entities/jaxrs endpoints.
Is there a smart way to handle this?