RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-03 Thread Colin Rogers
James, Thank you very much for that - a working example is exactly what I need! :) Cheers, Col. -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com] Sent: 02 March 2010 17:59 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread James Carman
Introduce AspectJ and spring-aspects into your build. You can see an example of it in my wicket-advanced sample project: http://svn.carmanconsulting.com/public/wicket-advanced/trunk/ Then, AspectJ will weave the transaction support into your Page/Component classes like you want. There are limit

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
nInViewFilter -Original Message- From: Pedro Santos [mailto:pedros...@gmail.com] Sent: 02 March 2010 17:11 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. Consider to use OpenSessionInViewFilter http://static.springsource.org/sprin

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Pedro Santos
sign" then I wouldn't worry about > transactions at all" > > Because you need the transactions for lazy fetching of child elements in > hibernate. > > -Original Message- > From: Riyad Kalla [mailto:rka...@gmail.com] > Sent: 02 March 2010 16:53 > To: use

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
of child elements in hibernate. -Original Message- From: Riyad Kalla [mailto:rka...@gmail.com] Sent: 02 March 2010 16:53 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and transactions in views. I'm not DB expert, but why are you using transactions for &qu

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Riyad Kalla
y hand is also time consuming and would > potentially harm performance (if the view didn't need the children, for > example). > > -Original Message- > From: Pedro Sena [mailto:sena.pe...@gmail.com] > Sent: 02 March 2010 16:39 > To: users@wicket.apache.org > Subje

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Josh Chappelle
ds. That's the agile method anyway. :-) Josh -Original Message- From: Colin Rogers [mailto:coli...@groundsure.com] Sent: Tuesday, March 02, 2010 10:46 AM To: users@wicket.apache.org Subject: RE: [newbie] Wicket, Spring, Hibernate and transactions in views. "I'd recom

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
so time consuming and would potentially harm performance (if the view didn't need the children, for example). -Original Message- From: Pedro Sena [mailto:sena.pe...@gmail.com] Sent: 02 March 2010 16:39 To: users@wicket.apache.org Subject: Re: [newbie] Wicket, Spring, Hibernate and tra

Re: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Pedro Sena
I don't think so. I'd recommend you to make your transactional control in your services and call them from your pages instead of trying to control it in your view. Best Regards, On Tue, Mar 2, 2010 at 1:25 PM, Colin Rogers wrote: > All, > > > > I've got a bit of a newbie Wicket question involv