Apply MyEclipse to do entity class generation <br />Albert Guo<br />junyuo@gmail.com<br />1<br />
File  New  Java Project<br />Create a Java Project <br />2<br />
Fill in Project name  Next<br />3<br />
Click Finish<br />4<br />
Add JPA Capabilities for this project<br />5<br />
Select OpenJPA as our Persistence provider  Next<br />6<br />
Add JPA capabilities for nig-codeGen<br />7<br />
Change perspective to MyEclipse Java Persistence<br />8<br />
Connect to database<br />9<br />
Select nig-related tables  JPA Reverse Engineering<br />10<br />
Assign src folder  assign Java package  check Entity Bean Generation  Next<br />11<br />
Click Next<br />12<br />
Click Finish<br />13<br />
Generating Artifacts…<br />14<br />
Change perspective to MyEclipse Java Enterprise<br />15<br />
Review artifacts<br />16<br />
Re-generate process<br />1<br />2<br />5<br />3<br />4<br />17<br />
Upcoming SlideShare
Loading in …5
×

Apply my eclipse to do entity class generation

1,304 views

Published on

  • Be the first to comment

  • Be the first to like this

Apply my eclipse to do entity class generation

  1. 1. Apply MyEclipse to do entity class generation <br />Albert Guo<br />junyuo@gmail.com<br />1<br />
  2. 2. File  New  Java Project<br />Create a Java Project <br />2<br />
  3. 3. Fill in Project name  Next<br />3<br />
  4. 4. Click Finish<br />4<br />
  5. 5. Add JPA Capabilities for this project<br />5<br />
  6. 6. Select OpenJPA as our Persistence provider  Next<br />6<br />
  7. 7. Add JPA capabilities for nig-codeGen<br />7<br />
  8. 8. Change perspective to MyEclipse Java Persistence<br />8<br />
  9. 9. Connect to database<br />9<br />
  10. 10. Select nig-related tables  JPA Reverse Engineering<br />10<br />
  11. 11. Assign src folder  assign Java package  check Entity Bean Generation  Next<br />11<br />
  12. 12. Click Next<br />12<br />
  13. 13. Click Finish<br />13<br />
  14. 14. Generating Artifacts…<br />14<br />
  15. 15. Change perspective to MyEclipse Java Enterprise<br />15<br />
  16. 16. Review artifacts<br />16<br />
  17. 17. Re-generate process<br />1<br />2<br />5<br />3<br />4<br />17<br />

×