I found this project in google a few days ago: http://code.google.com/p/t5jpa/

I am not sure of its status though

On Sun, Aug 2, 2009 at 1:54 AM, Neo
Anderson<[email protected]> wrote:
>
> Hi
>
> I follow the tutorial at 
> http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate to 
> integrate hibernate with tapestry 5. Everything seems to work fine. But I 
> discover if I switch to use persistence.xml then the application will keep 
> complaining hibernate.cfg.xml not found.
>
> Error invoking service builder method 
> org.apache.tapestry5.hibernate.HibernateCoreModule.buildHibernateSessionSource(Logger,
>  List, RegistryShutdownHub) (at HibernateCoreModule.java:123) (for service 
> 'HibernateSessionSource'): /hibernate.cfg.xml not found
>
> Is there any way to tell tapestry 5 to use persistence.xml instead of 
> hibernate.cfg.xml?
>
> I search on the wiki, but seems no one use persistence.xml. Is it because 
> tapestry 5 can only integrate with hibernate not jpa?
>
> Thanks for help.
>
> env: tapestry 5.1.0.5 / maven 2.0.9/ java 1.6.0_10
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to