[OT] Updating CachedRowSet

2002-11-26 Thread Jerry Jalenak
I'm stumped. In my DAO I return a disconnected CachedRowSet object back to my business logic level, do some processing, then update the CachedRowSet so I can send it back to my DAO and update my database. The code basically looks like this: snip CachedRowSet crs = new

Re: [OT] Updating CachedRowSet

2002-11-26 Thread David Graham
this benefit when using static methods. David From: Jerry Jalenak [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: [OT] Updating CachedRowSet Date: Tue, 26 Nov 2002 13:46:19 -0600 I'm stumped. In my DAO I return

Re: [OT] Updating CachedRowSet

2002-11-26 Thread John Bigboote
--- Jerry Jalenak [EMAIL PROTECTED] wrote: [...snip...] crs.updateString(userInfo, userInfo); crs.updateRow(); crs.setWriter(null); // kill default writer crs.acceptChanges(); Why are you setting the writer to null? It's the RowSetWriter that propagates

RE: [OT] Updating CachedRowSet

2002-11-26 Thread Jerry Jalenak
: Re: [OT] Updating CachedRowSet --- Jerry Jalenak [EMAIL PROTECTED] wrote: [...snip...] crs.updateString(userInfo, userInfo); crs.updateRow(); crs.setWriter(null); // kill default writer crs.acceptChanges(); Why are you setting the writer to null

Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
-Original Message- From: John Bigboote [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 2:23 PM To: Struts Users Mailing List Subject: Re: [OT] Updating CachedRowSet --- Jerry Jalenak [EMAIL PROTECTED] wrote: [...snip...] crs.updateString(userInfo, userInfo); crs.updateRow

RE: [OT] Updating CachedRowSet

2002-11-26 Thread John Bigboote
]] Sent: Tuesday, November 26, 2002 2:23 PM To: Struts Users Mailing List Subject: Re: [OT] Updating CachedRowSet --- Jerry Jalenak [EMAIL PROTECTED] wrote: [...snip...] crs.updateString(userInfo, userInfo); crs.updateRow(); crs.setWriter(null); // kill

Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
RowSetWriter handle updating multiple tables? Jerry -Original Message- From: John Bigboote [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 2:23 PM To: Struts Users Mailing List Subject: Re: [OT] Updating CachedRowSet --- Jerry Jalenak [EMAIL PROTECTED] wrote: [...snip