You are absolutely right, the tapestry-hibernate module doesn't support
the JPA yet.
Uli
On 02.08.2009 01:54 schrieb Neo Anderson:
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org