Generate Transfer Objects from Persistence Tool Window (JPA)

Hello,

I have several JPA entities as domain objects and need to send DTOs of this entities to the client for displaying. It's really annoying to create a DTO mostly the same as the entity. Is there a way to generate automatically this kind of classes through IntelliJ?
I saw that EJB has this kind of features but for JPA entities, I didn't find it.

Thanks

Please sign in to leave a comment.