Re: [T5] Does T5 work with JPA ?

2009-08-14 Thread Scot Mcphee
2009/8/15 bdumeny : > There is no specified scope for jpa dependencies... And the hibernate.jar is definitely in the generated WAR file? Otherwise try scope 'compile'. Obviously the javax.persistence jar is. > If only someone tells me that it's possible... > I haven't found any example of use t5/

Re: [T5] Does T5 work with JPA ?

2009-08-14 Thread bdumeny
There is no specified scope for jpa dependencies... If only someone tells me that it's possible... I haven't found any example of use t5/jpa Message : org.apache.tapestry5.runtime.ComponentEventException No Persistence provider for EntityManager named MY_APP Stack trace * javax.pers

Re: [T5] Does T5 work with JPA ?

2009-08-14 Thread Scot Mcphee
2009/8/15 bdumeny : > Yes, all included in my pom.xml. > > If I haven't dependencies my tests wouldn't work during a mvn install... well not strictly true seeing as you could could have it in a "test" scope (e.g. something I often do with the HSQL classes). sorry i had to ask the obvious question.

Re: [T5] Does T5 work with JPA ?

2009-08-14 Thread bdumeny
Yes, all included in my pom.xml. If I haven't dependencies my tests wouldn't work during a mvn install... Scot Mcphee a écrit : Doesn't Tomcat - it being "just" a servlet and JSP engine and not a full blown JEE specification implementation - not have any actual JPA implementation? Are you inc

Re: [T5] Does T5 work with JPA ?

2009-08-14 Thread Scot Mcphee
Doesn't Tomcat - it being "just" a servlet and JSP engine and not a full blown JEE specification implementation - not have any actual JPA implementation? Are you including one in your WAR file, e.g. Hibernate? 2009/8/14 bdumeny : > Thiago H. de Paula Figueiredo a écrit : >> >> Em Fri, 14 Aug 2009

Re: [T5] Does T5 work with JPA ?

2009-08-14 Thread bdumeny
Thiago H. de Paula Figueiredo a écrit : Em Fri, 14 Aug 2009 09:42:34 -0300, bdumeny escreveu: Hi all! Hi! I try to develop a T5 / jpa application! All junits tests on my DAOS work but when I try to deploy on tomcat I still have a "No Persistence provider for EntityManager name ..." error

Re: [T5] Does T5 work with JPA ?

2009-08-14 Thread Thiago H. de Paula Figueiredo
Em Fri, 14 Aug 2009 09:42:34 -0300, bdumeny escreveu: Hi all! Hi! I try to develop a T5 / jpa application! All junits tests on my DAOS work but when I try to deploy on tomcat I still have a "No Persistence provider for EntityManager name ..." error when I call DAOs. My persistence.xml

[T5] Does T5 work with JPA ?

2009-08-14 Thread bdumeny
Hi all! I try to develop a T5 / jpa application! All junits tests on my DAOS work but when I try to deploy on tomcat I still have a "No Persistence provider for EntityManager name ..." error when I call DAOs. My persistence.xml seams to be at good place... So my question is : Is it possible th