1. Create a Entity Class {Employee.java}
import javax.persistence.Entity;
import javax.persistence.Id;
@Entity // Make Employee Class into an entity by annotate the class with @Entity.
public class Employee {
@Id private int id; //property that holds the persistent identity of … Read more
![शिशिर [Shishir] पोखरेल](http://www.shishir.com.np/home/wp-content/uploads/2011/12/test.png)