Why are you using Toplink Essentials instead of Hibernate? There are no
advantages to that, only drawbacks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062670#4062670
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40
Hi All ,
I am getting this exception after making a call to persist some data . Please
can anybody help me out :
ERROR [[TestServlet]] Servlet.service() for servlet TestServlet threw exception
java.lang.ClassCastException: org.hibernate.ejb.HibernatePersistence
at javax.persistence.Persistence.