db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen" <Bernt.John...@Sun.COM>
Subject [PATCH] (DERBY-276) ResultSet.relative(int row) cannot be called when the cursor is not positioned on a row.
Date Fri, 27 May 2005 12:31:39 GMT
Could anybody review this?

This patch will make relative() allowed when the cursor is before
first or after last. It will also let absolute(0) be equivalent to
beforeFirst().

This should be in accordance with JDBC 3.0 (although the tutorial and
javadoc as a bit inconsistent on relative()).

The patch will also cause the Network clinet to deviate from the
behaviour of DB2JCC.

derbyall is run with one fail which should not be related to this patch:
derbyall/derbynetclientmats/derbynetmats.fail:lang/updatableResultSet.java

derbyall run on:
Java Version:    1.5.0_03
Java Vendor:     Sun Microsystems Inc.
OS name:         Linux
OS architecture: i386
OS version:      2.4.20-31.9

Attached are the patch and the stat.
-- 
Bernt Marius Johnsen, Database Technology Group, 
Sun Microsystems, Trondheim, Norway

Mime
View raw message