Hi, May i know whether we can compare 2 ResultSets rs1=rs2 ??? Pls let me know! Thanks in advance regards smitha
posted 13 years ago
You can't because the java.sql.ResultSet interface doesn't specify a method for testing the equality. You'll have to resort to manual comparison (unless you know that your JDBC driver's ResultSet implementation overrides the equals() method, which is highly unlikely).