Sorry, it's just the sketch of the final library; I haven't had a
chance to cycle around and make it useful.

On 4/6/07, Celia Mou <[EMAIL PROTECTED]> wrote:
Hi,

Does anyone have a working example of Tapestry 5 and Hibernate integration?

According to the limited docs on the Tapestry site, one needs to put the
hibernate.cfg.xml file in the src/main/resources directory, and then
maybe contribute the entity package to the
tapestry.hibernate.HibernateSessionSource. It seems if one has the
entities package under the base package, one doesn't even need to
contribute.

That's what I got. But then, where would you put the mapping files? And
what's the typical way to instantiate and destroy Hibernate sessions?

Well, in short, I'm a bit lost in this. Any hint will be greatly
appreciated. Thanks!

celia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to