Did have take a look at http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/hibernate/HibernateConfigurer.html
You can contribute a HibernateConfigurer and use http://docs.jboss.org/hibernate/core/3.5/javadoc/org/hibernate/cfg/Configuration.html#addFile(java.lang.String) to add a mapping file. regards Taha On Fri, Aug 5, 2011 at 12:11 PM, andreisirghi <[email protected]> wrote: > What is actually the code that adds mappings.xml. As I know in > hibernate.cfg.xml is not possible to include mappings, and in > contributeHibernateEntityPackageManager you can add just packages with > hibernate-annotated classes. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tapestry-Hibernate-xml-mapping-tp4666037p4668805.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
