Em Tue, 29 Sep 2009 17:00:34 -0300, Benny Law <benny.mk....@gmail.com> escreveu:

Hi Thiago,

Hi!

Thanks for responding, but I was hoping for something a little more
detailed. I had visited this link before, but needed more details on things such as configuration and code examples.

Configuration: http://tapestry.apache.org/tapestry5.1/tapestry-hibernate-core/conf.html

I have an existing database, and
would like to map my models to the existing tables using annotations.

Use Hibernate Tools (Eclipse plugin) to generate the entity classes through database reverse engineering.
 I
would like to know what I need in terms of configuration and what to inject into my DAO's to get a Hibernate session.

Declare your DAOs as Tapestry-IoC services and have the Session injected in them.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to