Re: [T5] How to handle DAOs?

2008-08-11 Thread 9902468
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-T5--How-to-handle-DAOs--tp18901398p18921242.html Sent from the Tapestry

Re: [T5] How to handle DAOs?

2008-08-11 Thread Sven Homburg
PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-T5--How-to-handle-DAOs--tp18901398p18921242.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: [T5] How to handle DAOs?

2008-08-11 Thread Hugo Palma
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-T5--How-to-handle-DAOs--tp18901398p18921242.html Sent from the Tapestry - User mailing list archive

Re: [T5] How to handle DAOs?

2008-08-10 Thread Lutz Hühnken
Hi Sven, this is the first time i hear of chenillekit. So I'm wondering (and I'm sure others are, too) - what the relationship is between chenillekit and t5components ? Are those two names for the same project? Regards, Lutz On Sat, Aug 9, 2008 at 2:13 PM, Sven Homburg [EMAIL PROTECTED]

Re: [T5] How to handle DAOs?

2008-08-10 Thread Onno Scheffers
The thing to know about tapestry-hibernate is that it creates a proxy for the actual hibernate session. When you use the injected session it actually gets the session for the current thread, via the HibernateSessionManager I believe. So when you instantiate your DAO with a session in the

Re: [T5] How to handle DAOs?

2008-08-10 Thread Sven Homburg
here is a sample without using Factory http://212.202.126.8:8080/chenillekit/chenillekit-hibernate/doa_sample.html 2008/8/10 Onno Scheffers [EMAIL PROTECTED] The thing to know about tapestry-hibernate is that it creates a proxy for the actual hibernate session. When you use the injected

Re: [T5] How to handle DAOs?

2008-08-09 Thread Sven Homburg
eventualy this helps you http://87.193.218.134:8080/t5components/t5c-contrib/howto_dao.html 2008/8/9 Onno Scheffers [EMAIL PROTECTED] Hi, I am having some troubles figuring out the proper way to use DAO services using tapestry-hibernate. The documentation describes how to write the DAO

Re: [T5] How to handle DAOs?

2008-08-09 Thread Onno Scheffers
Hi Sven, you are right, that does help me, thanks a lot! It's quite different from the directions the official tapestry-hibernate user guide gave me about DAOs, but it works very well. Just wondering if the code in the t5c-contrib package is production-ready? regards, Onno Scheffers

Re: [T5] How to handle DAOs?

2008-08-09 Thread Sven Homburg
myself is using the chenillekit modules for my own customer projects but the libraries are poorly documented. for the future i suggest the using of chenillekit http://code.google.com/p/chenillekit/ 2008/8/9 Onno Scheffers [EMAIL PROTECTED] Hi Sven, you are right, that does help me, thanks a

Re: [T5] How to handle DAOs?

2008-08-09 Thread Chris Lewis
Onno, The thing to know about tapestry-hibernate is that it creates a proxy for the actual hibernate session. When you use the injected session it actually gets the session for the current thread, via the HibernateSessionManager I believe. So when you instantiate your DAO with a session in the

[T5] How to handle DAOs?

2008-08-08 Thread Onno Scheffers
Hi, I am having some troubles figuring out the proper way to use DAO services using tapestry-hibernate. The documentation describes how to write the DAO service interfaces and how to register them, but it doesn't show an example of an actual DAO implementation. As far as I know I cannot inject a