Hi I am using javax.Persistance.Entitmanager using seam.
@PersistenceContext (unitName="unit1")
EntityManager em;
String query="select p from com.hp.mps.afd.model.CoreRegion p";
Query qu=em.createQuery(query);
productList= qu.getResultList();
my persistance.xml is HAWKEYE_DS com.hp.mps.afd.model.CoreRegion
But while running the program im getting following Error
nested exception is: <1.0.0 fatal user error> org.apache.openjpa.persistence.ArgumentException: The type "class com.mps.afd.model.CoreRegion" has not been enhanced.