title: How can I transform Entity-Based diagram to a JPA java code
body: <p>I have class diagram created with "Sparx Enterprise Architect v8.0" and i need to generate JPA-based classes with annotations that reflect relations to use it in the code. 
  The problem is that i can convert it to EJB but not JPA which is required for my task.</p>