Apply my eclipse to do entity class generation
-
Upload
guo-albert -
Category
Documents
-
view
1.056 -
download
0
Transcript of Apply my eclipse to do entity class generation
1
Apply MyEclipse to do entity class
generation Albert Guo
2
File New Java Project
Create a Java Project
3
Fill in Project name Next
4
Click Finish
5
Add JPA Capabilities for this project
6
Select OpenJPA as our Persistence provider Next
7
Add JPA capabilities for nig-codeGen
8
Change perspective to MyEclipse Java Persistence
9
Connect to database
10
Select nig-related tables JPA Reverse Engineering
11
Assign src folder assign Java package check Entity Bean
Generation Next
12
Click Next
13
Click Finish
14
Generating Artifacts…
15
Change perspective to MyEclipse Java Enterprise
16
Review artifacts
17
Re-generate process
Schema
Change
Edit schema over SQL
Developer
Update entity
class via MyEclipse
Update entity
class into workspace
Check into SVN
Inform Team
member
1
2
34
5