Hi Davor, Thanks, as a newbie, i can't really understand it fully, here is what I got so far:
1) put that tapestry-hibernate.jar in the lib. 2) put all annotated entities in the entities direcotory 3) in your main source: @inject private Session _session; then? what's the Session of this? Hibernate's getSessionFactory? Thanks, Davor Hrg wrote: > > not much at the moment, > but it's simple to use, > factories are created > http://tapestry.apache.org/tapestry5/tapestry-hibernate/conf.html > > you just call > @Inject private Session _session; > > or in the method > Especialy if you have DAO's that have Session in constructor > than you can configure them efortlessly via AppModule.bind > > I havent got much time to write you more ... > but try it out a bit, it works like a charm > > > Davor Hrg > > On 9/9/07, Angelo Chen <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> I searched the list to find a simple tutorial for Tapestry-hibernate, but >> couldn't find any, some quite simple, but source code not complete. any >> simple code there? anyway, I believe Hibernate can be used directly >> without >> Tapestry-hibernate module, my question now is, what are the advantages >> using >> Tapestry-hibernate over using the Hibernate directly? Thanks for sharing, >> A.C. >> -- >> View this message in context: >> http://www.nabble.com/T5%3A-Hibernate-tf4409684.html#a12579774 >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/T5%3A-Hibernate-tf4409684.html#a12584735 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]