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. Eclipse (Kepler)
  2. Eclipse Link (Kepler)
  3. 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




Comments

  1. one more point to mention.

    Do not forget to mention the jpa provider property in persistent.xml.

    ReplyDelete

Post a Comment

Popular posts from this blog

Cloud Architecture Notes

Qlik Sense Important Links