1. Persistent class and DTO forum.hibernate.orgHi all, I am new to Hibernate, one question arises here, is there any recommended way to deal with DTO pattern with Hibernate? Seems Hibernate persistent class simply can act as DTO, may I just use Hibernate persistent class as DTO to transfer data between tiers, or do I have to code DTO separately? Thank you. |
2. Making persistent classes as DTOs forum.hibernate.org |