Also, the link at the very bottom of that page gets a 500 error:

http://www.caucho.com/resin/examples/amber-basic/index.xtp

> 500 Servlet Exception
> 
> 'ejb3_basic_courses' is not a valid database table.  Either the table needs
> to be created or the create-database-tables attribute must be set.
> 
> com.caucho.db.sql.SQLParseException: 'ejb3_basic_courses' is an unknown
> table.  'FROM table' requires an existing table.
> select 1 from ejb3_basic_courses o where 1=0
> 
> Resin/4.0.s100325 Server: ''



On Mar 26, 2010, at 18:10:01, Stargazer wrote:

> 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
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to