[jboss-user] [EJB/JBoss] - Re: Exception in calling an Entity Bean from Servlet

2007-07-10 Thread alexg79
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

[jboss-user] [EJB/JBoss] - Re: Exception in calling an Entity Bean from Servlet

2007-07-05 Thread ashusri000
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.