title: What is the difference between @Entity in Hibernate and JPA
body: <p>When i am doing sample Hibernate standalone program, little bit confusing was created in my mind with the usage of @Entity annotation.</p>
  
  <p>Here my question is, I have one persisted class with @Entity from javax.persistence package then it's working fine but when i replaced @Entity annotation with Hibernate API(i.e from org.hibernate.annotations package) then it's giving <strong>org.hibernate.MappingException: Unknown entity: com.jetti.test.Employee</strong></p>
  
  <p>Give some more explanation are highly appreciated.</p>