1. Use Tomcat 6.0 as server for java web application cause javax.persistence annotations to be messed up stackoverflow.comNormally, I use Glass Fish as my testing server for NetBeans. Recently, I tried to switch to Tomcat 6.0. As soon as I changed the server, compiler no longer understand javax.persistence.Entity. When ... |
2. Hibernate exception when starting Tomcat (after upgrade to hibernate-3.5.0) stackoverflow.comI'm getting the following exception when starting a tomcat instance with my web app after upgrading to hibernate 3.5.0:
at ... |
3. It possible to use Hibernate annotation (JPA) on Tomcat 6? forum.hibernate.org |
4. Hibernate Annotations with tomcat forum.hibernate.orgI started a project with jsf + hibernate and I want this run in a tomcat server, but I don't know how I can inject the EntityManager to do persist, merge, remove, etc. With EJB3 I used @applicationContext(name="prsitenceUnit")EntityManager em;, but now I don't know how. if somebody has the answer please tell me. |