I am just using hibernate.cfg.xml and it all works very well.
-----Original Message----- From: daniel joyce [mailto:[email protected]] Sent: 02 April 2009 05:14 To: [email protected] Subject: Hibernate.cfg or persistence.xml? I want to use persistence annotations in my tapestry application, but the documentation on the hibernate-tapestry integration is sparse and contradictory. Do I need to use Hibernate.cfg.xml, or can I use a persistence.xml with hibernate as the persistence provider? I see references to acquiring a EntityManager, or setting up some kind of automatic service in the AppModule, but all the info I've found is sparse at best. Any better sources out there? -Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] ************************************************************************** Experience the British Library online at www.bl.uk The British Library's new interactive Annual Report and Accounts 2007/08 : www.bl.uk/knowledge Help the British Library conserve the world's knowledge. Adopt a Book. www.bl.uk/adoptabook The Library's St Pancras site is WiFi - enabled ************************************************************************* The information contained in this e-mail is confidential and may be legally privileged. It is intended for the addressee(s) only. If you are not the intended recipient, please delete this e-mail and notify the [email protected] : The contents of this e-mail must not be disclosed or copied without the sender's consent. The statements and opinions expressed in this message are those of the author and do not necessarily reflect those of the British Library. The British Library does not take any responsibility for the views of the author. ************************************************************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
