ORM framework learning - JPA
Tiered of using pure sql in your web app.
here is the ORM framework which you can implement and ease your DB development.
This blog is for JPA learning.
What do u need?
#1 is the famous IDE
#2 is the JPA implementation which does all the required ORM work
steps:
here is the ORM framework which you can implement and ease your DB development.
This blog is for JPA learning.
What do u need?
- Eclipse (Kepler)
- Eclipse Link (Kepler)
- Any DB may be MySQL + mySQL driver at app side
#1 is the famous IDE
#2 is the JPA implementation which does all the required ORM work
steps:
- Create & design DB
- Use Eclipse to create JPA project
- Use DB explorer of eclipse to connect to DB
- Right Click on JPA proj to generate entities.
- Use client to test your entities and JPAQ.
- Integrate this JPA project into your Web App. as dependency
one more point to mention.
ReplyDeleteDo not forget to mention the jpa provider property in persistent.xml.