JPA Code Generation via MyEclipse Albert Guo [email_address]
Add JPA Capabilities to your MyEclipse Project
 
Specify datasource
JPA Wizard will generate persistence.xml automatically
Change view to MyEclipse Database Explorer
Selected specified table to do code generation
Click JPA Reverse Engineering
Choose the destination for code generation and its package name Generate entities first and update entities  into persistence.xml simultaneously
Choose the destination for code generation and its package name Generate DAOs (Data Access Object)
Artifacts It will generate CRUD in DAOs
If schema changes…

JPA Code Generation via MyEclipse