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 persiste...
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…
Upcoming SlideShare
Loading in...5
×

JPA Code Generation via MyEclipse

2,820

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,820
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
36
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

JPA Code Generation via MyEclipse

  1. 1. JPA Code Generation via MyEclipse Albert Guo [email_address]
  2. 2. Add JPA Capabilities to your MyEclipse Project
  3. 4. Specify datasource
  4. 5. JPA Wizard will generate persistence.xml automatically
  5. 6. Change view to MyEclipse Database Explorer
  6. 7. Selected specified table to do code generation
  7. 8. Click JPA Reverse Engineering
  8. 9. Choose the destination for code generation and its package name Generate entities first and update entities into persistence.xml simultaneously
  9. 10. Choose the destination for code generation and its package name Generate DAOs (Data Access Object)
  10. 11. Artifacts It will generate CRUD in DAOs
  11. 12. If schema changes…
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×