Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
ess logic and back. I had to kill the writer in order to use the 'acceptChanges()' method. Does the default RowSetWriter handle updating multiple tables? Jerry -Original Message- From: John Bigboote [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 2:23 PM To: Str

RE: [OT] Updating CachedRowSet

2002-11-26 Thread John Bigboote
les? > > 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 > > > > > >

Re: [OT] Updating CachedRowSet

2002-11-26 Thread V. Cekvenich
tiple 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...] crs.updateString("userI

RE: [OT] Updating CachedRowSet

2002-11-26 Thread Jerry Jalenak
t; 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
--- 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 pr

Re: [OT] Updating CachedRowSet

2002-11-26 Thread David Graham
lose 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 Dat

[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: CachedRowSet crs = new CachedR