how well does this play with the existing Tapestry-Hibernate
integration? Can I still grab the Session easily?

-Daniel

On Thu, Apr 2, 2009 at 2:26 AM, Christine Karman <christ...@christine.nl> wrote:
>
>> From: daniel joyce <daniel.a.jo...@gmail.com>
>> To: users@tapestry.apache.org
>> X-Virus-Checked: Checked by ClamAV on apache.org
>>
>> 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.
>>
>
> I'm not a Hibernate expert, but the Hibernate book explains how to switch
> from using hibernate.cfg.xml to just persistence.xml. I use persistence.xml,
> but it all depends - I guess - on how you want to use Hibernate and Java
> persistence.
>
> dagdag
> Christine
>>
>> Any better sources out there?
>>
>> -Daniel
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>> ----- End forwarded message -----
>>
>>
>
>

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

Reply via email to