You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by David Avenante <d....@gmail.com> on 2007/06/19 21:47:51 UTC
T5 -IOC and hibernate Module UPDATE
Ok i'm a stupid guys ... i need to Read The Fucking Documentation
before ask question ;)
So a simple configuration for hibernate is :
public static void
contributeHibernateSessionSource(Configuration<String> configuration)
{
configuration.add("com.my.domain");
}
public SessionFactory
build(@InjectService("HibernateSessionSource")HibernateSessionSource
hibernateSessionSource) {
return hibernateSessionSource.getSessionFactory();
}
;)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org