This is my third question and the final one I promise :)

I know that I can add more hibernate configuration to the application like
this

  public void
contributeHibernateSessionSource(OrderedConfiguration<HibernateConfigurer>
conf) {
        conf.add("Default", new HibernateConfigurer() {

            public void configure(org.hibernate.cfg.Configuration
configuration) {
                configuration.configure("hibernate.xml");
            }
        });
    }

but this sometimes throw an error 'hibernate.dialect' must be set when no
Connection available
from what I read at the internet it is because the tapestry is trying to use
its default file hibernate.cfg.xml
I have also set 
        configuration.add("tapestry.hibernate.default-configuration",
"false");
but it is not working. I still get this error on some occasions

Since I can add more configuration to the OrderdConfiguration how can I tell
tapestry which one to take?

Thank you for assistance.
Cheers

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Choosing-hibernate-configuration-tp5081667p5081667.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to