You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Benny Law <be...@gmail.com> on 2009/09/29 21:23:02 UTC
T5 & Hibernate
Hello,
Can someone point me to the most up-to-date and detailed documentation on
using Hibernate with T5 (but not Spring)?
Thank you,
Benny
Re: T5 & Hibernate
Posted by Angelo Chen <an...@yahoo.com.hk>.
amazing, i did not know that we can configure manually until reading that
link:
apestry.hibernate.default-configuration
is there a short sample that how this can be be used?
Thanks,
angelo
Thiago H. de Paula Figueiredo wrote:
>
> Em Tue, 29 Sep 2009 17:00:34 -0300, Benny Law <be...@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-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/T5---Hibernate-tp25669279p25672391.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5 & Hibernate
Posted by Benny Law <be...@gmail.com>.
Thanks Thiago. Somehow, I missed those additional links in the left nav. Now
I have a bit more info to go on.
Benny
On Tue, Sep 29, 2009 at 4:52 PM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:
> Em Tue, 29 Sep 2009 17:00:34 -0300, Benny Law <be...@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-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: T5 & Hibernate
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Tue, 29 Sep 2009 17:00:34 -0300, Benny Law <be...@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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5 & Hibernate
Posted by Benny Law <be...@gmail.com>.
Hi Thiago,
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. I have an existing database, and
would like to map my models to the existing tables using annotations. 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. If you could give me a few more
pointers, I would really appreciate it.
Benny
On Tue, Sep 29, 2009 at 3:32 PM, Thiago H. de Paula Figueiredo <
thiagohp@gmail.com> wrote:
> Em Tue, 29 Sep 2009 16:23:02 -0300, Benny Law <be...@gmail.com>
> escreveu:
>
> Hello,
>>
>
> Hi!
>
> Can someone point me to the most up-to-date and detailed documentation on
>> using Hibernate with T5 (but not Spring)?
>>
>
> http://tapestry.apache.org/tapestry5.1/tapestry-hibernate/
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: T5 & Hibernate
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
Em Tue, 29 Sep 2009 16:23:02 -0300, Benny Law <be...@gmail.com>
escreveu:
> Hello,
Hi!
> Can someone point me to the most up-to-date and detailed documentation on
> using Hibernate with T5 (but not Spring)?
http://tapestry.apache.org/tapestry5.1/tapestry-hibernate/
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org