[OT] data layer, try-catch-finally, connections

2003-06-04 Thread Mike Whittaker
I guess you've all been here, so can you answer this? you have do a 'finally' to ensure you close the connection/release it back to the pool. In the controller tier this is easy, get the connection in the Filter/RequestProcessor/Action when whatever returns you can finally close it. However

Re: [OT] data layer, try-catch-finally, connections

2003-06-04 Thread Ian Hunter
, try-catch-finally, connections I guess you've all been here, so can you answer this? you have do a 'finally' to ensure you close the connection/release it back to the pool. In the controller tier this is easy, get the connection in the Filter/RequestProcessor/Action when whatever returns

Re: [OT] data layer, try-catch-finally, connections

2003-06-04 Thread David Graham
[EMAIL PROTECTED] To: Struts List [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 10:14 AM Subject: [OT] data layer, try-catch-finally, connections I guess you've all been here, so can you answer this? you have do a 'finally' to ensure you close the connection/release it back to the pool

Re: [OT] data layer, try-catch-finally, connections

2003-06-04 Thread Ian Hunter
OK, so Java isn't my first language, busted... - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 10:25 AM Subject: Re: [OT] data layer, try-catch-finally, connections Setting the conn, rs, and s pointers to null in this method

Re: [OT] data layer, try-catch-finally, connections

2003-06-04 Thread David Graham
Everything is pass by value, even pointers :-). David OK, so Java isn't my first language, busted... - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 10:25 AM Subject: Re: [OT] data layer, try-catch-finally, connections