I'm new to JPA and Hibernate. I just saw an annotation called
@Transient, which can mark a field to be non-persistent in the database. However, for the sake of "separation of concerns" described in the answer of What is the use of DTO instead of Entity?, we should remove non-persistent fields from entities.
Assuming we all follow the rule of "separation of concerns" and separate database entities and view objects, will there be valid use case of