Resin 4.0.5 - following http://wiki.caucho.com/Hibernate works fine, but 
I'd like to take it to the next level and persist something.
Adding
         EntityTransaction tx = _manager.getTransaction();
         tx.begin();
         ...
to the end of the CourseServlet.java file throws up

java.lang.IllegalStateException: Container-manager @PersistenceContext 
may not use getTransaction.

What have I missed please?



_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to