Re: Connection session bound

2006-12-16 Thread Clinton Begin
method level. PS: I sound like a Spring salesman today! Buy now and I'll throw in a set of steak knives for free! Cheers, Chris -Original Message- From: Andreas Prudzilko [mailto:[EMAIL PROTECTED] <[EMAIL PROTECTED]>] Sent: Sat 12/16/2006 1:39 PM To: user-java@ibatis.apac

Re: Connection session bound

2006-12-16 Thread Larry Meadors
On 12/16/06, Chris Lamey <[EMAIL PROTECTED]> wrote: PS: I sound like a Spring salesman today! Buy now and I'll throw in a set of steak knives for free! SOLD! ...now, where are my knives?! Larry

RE: Connection session bound

2006-12-16 Thread Chris Lamey
omplicated and I can do everything I need at the method level. PS: I sound like a Spring salesman today! Buy now and I'll throw in a set of steak knives for free! Cheers, Chris -Original Message- From: Andreas Prudzilko [mailto:[EMAIL PROTECTED] Sent: Sat 12/16/2006 1:39 PM To: user-

Re: Connection session bound

2006-12-16 Thread Andreas Prudzilko
Yeah I agree, it was more about choosing the best practice. From my experience it saves a lot of refactoring if you do it right in the first place :-D I guess I leave it for now as is, and see what happens in production. Thanks, - Andreas If you are using a pool, it would give almost no benef

Re: Connection session bound

2006-12-16 Thread Larry Meadors
If you are using a pool, it would give almost no benefit, IMO. Try it simple, if you have problems, optimize them later - premature optimization is the root of many evils. ;-) Larry On 12/16/06, Andreas Prudzilko <[EMAIL PROTECTED]> wrote: Hi Brandon, well i was just reading some hibernat

Re: Connection session bound

2006-12-16 Thread Andreas Prudzilko
Hi Brandon, well i was just reading some hibernate tutorials and there were some thought about binding a db connection at least to a http request to gain more performance. Now im writing an ajax webapplication, so i have a lot of tiny http requests. So binding the db connection there wouldn't

Re: Connection session bound

2006-12-16 Thread Brandon Goodin
I can't imagine a situation where I would tie a connection to an HttpSession. What is causing you to consider this? If you can provide some insight as to why you would want to do this we can provide more pointed advice. Brandon On 12/16/06, Andreas Prudzilko <[EMAIL PROTECTED]> wrote: Hi, i w

Connection session bound

2006-12-16 Thread Andreas Prudzilko
Hi, i was wondering about the connection pooling in ibatis. Is it possible to bind a connection to a httpsession? Or are there any pros and cons to do it? - Andreas