Code used for practicing Eclipselink JPA. Follow tutorialspoint (http://www.tutorialspoint.com/jpa/jpa_quick_guide.htm).