Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created January 7, 2021 19:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/a149e756cbdf591cd817a060a182d755 to your computer and use it in GitHub Desktop.
Save AdamBien/a149e756cbdf591cd817a060a182d755 to your computer and use it in GitHub Desktop.
83rdAirhacksQ&A.md

Ask questions and see you at February, 8th, 8.PM. CET: https://vimeo.com/event/154379

Also checkout recent episode:

82nd airhacks.tv

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

@thehpi
Copy link

thehpi commented Feb 3, 2021

Hi Adam,

I use jaxrs and jpa to get data in/out of the db. I however have some entities that contain calculated values that should not exposed to the outside world.

I however cannot change the entity classes to e.g. add annotations (@XmlTransient?).

Currently I have a DTO which do not contain the sensitive fields and mappers to go from entity to dto but all this is cumbersome.

Is there a way to do this without the need for a DTO?

gr. Hans

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment