Database access and result set management

How it works

Java components send result sets to the client using the interfaces in the com.sybase.jaguar.sql package:

You don’t have to implement these interfaces. The jaguar.server.JContext class contains static methods for obtaining objects that implement these interfaces.

Sending a ResultSet object to the client

To send database data to the client:

Sending results row by row

You can also send the result set row by row by building another ResultSet object that contains a subset of the original query. Methods in the metadata and resultset interfaces let you specify the columns and data in the result set.