title: Is it a good practice to use JPA entities as domain models?
body: <p>or to create a domain layer that is consisted of domain models and talk to JPA entities for database accessing?
  What are the pros and cons for both approaches ? Thanks!</p>