db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brenda Reyes <br9...@yahoo.com>
Subject Re: [patch] [doc] updatable ResultSets
Date Wed, 20 Apr 2005 23:15:25 GMT
Hey Mamta,

I have made the change you requested.  Ignore the
patch I posted previously and use this one instead.  
I am also attaching the html files so you can see how
they look.


--- Mamta Satoor <msatoor@gmail.com> wrote:
> Hi Brenda,
> 
> The doc looks good. Just one change - in the Table
> for JDBC 2.0
> ResultSet Methods Supported, for the method void
> updateRow(), we need
> comments similar to the ones for deleteRow. Which is
> as follows
> void updateRow() After the row is updated, the
> ResultSet object will
> be positioned before the next row. Before issuing
> any methods other
> than close on the ResultSet object, the program will
> need to
> reposition the ResultSet object by using the next()
> method.
> 
> thanks,
> Mamta
> 
> 
> > java.sql.ResultSet
> > Table 1. JDBC 2.0 ResultSet Methods Supported
> > ReturnsSignatureImplementation Notes
> > voidafterLast() 
> > voidbeforeFirst() 
> > voidbeforeFirst() 
> > voiddeleteRow()After the row is deleted, the
> ResultSet object will be positioned before the next
> row. Before issuing any methods other than close on
> the ResultSet object, the program will need to
> reposition the ResultSet object by using the next()
> method.
> > booleanfirst() 
> > BlobgetBlob(int columnIndex)See java.sql.Blob and
> java.sql.Clob
> > BlobgetBlob(String column-Name)
> > ClobgetClob(int columnIndex)
> > ClobgetClob(String column-Name)
> > intgetConcurrency()
> > 
> > If the Statement object has CONCUR_READ_ONLY
> concurrency, then this method will return
> ResultSet.CONCUR_READ_ONLY. But if the Statement
> object has CONCUR_UPDATABLE concurrency, then the
> return value will depend on whether the underlying
> language ResultSet is updatable or not. If the
> language ResultSet is updatable, then
> getConcurrency() will return
> ResultSet.CONCUR_UPDATABLE. If the language
> ResultSet is not updatable, then getConcurrency()
> will return ResultSet.CONCUR_READ_ONLY.
> > intgetFetchDirection() 
> > intgetFetchSize()Always returns 1.
> > intgetRow() 
> > booleanisAfterLast() 
> > booleanisBeforeFirst 
> > booleanisFirst() 
> > booleanisLast() 
> > booleanlast() 
> > booleanprevious() 
> > booleanrelative(int rows) 
> > voidsetFetchDirection(int direction) 
> > voidsetFetchSize(int rows)A fetch size of 1 is the
> only size supported.
> > voidupdateRow()
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Mime
View raw message