jaguar.server.Jaguar class  jaguar.sql.JServerResultSet interface

Chapter 1: Java Classes and Interfaces

jaguar.server.JContext class

Description

package com.sybase.jaguar.server;
public class JContext extends Object 

Instantiates objects that are used to send result sets from a Java component method and provides a method to forward rows from a java.sql.ResultSet to the client.

Constructors

None. All methods are static.

Methods

See also

JServerResultSet, JServerResultSetMetaData




JContext.createServerResultSetMetaData()

Description

Creates a JServerResultSetMetaData object.

Syntax

Package

com.sybase.jaguar.server

Class

JContext

public static JServerResultSetMetaData 
     createServerResultSetMetaData() 
    throws SQLException 

Usage

The JServerResultSetMetaData reference can be used to describe result rows to be sent to the client.

See also

createServerResultSet(JServerResultSetMetaData), forwardResultSet(ResultSet)




JContext.createServerResultSet(JServerResultSetMetaData)

Description

Creates a JServerResultSet object.

Syntax

Package

com.sybase.jaguar.server

Class

JContext

public static JServerResultSet  createServerResultSet 
    ( JServerResultSetMetaData metadata) 
    throws SQLException 

Parameters

metadata

A JServerResultSetMetaData object that has been initialized to describe the result set that will be sent.

See also

createServerResultSetMetaData(), forwardResultSet(ResultSet)




JContext.forwardResultSet(ResultSet)

Description

Retrieves the rows from a java.sql.ResultSet object and forward them to the client.

Syntax

Package

com.sybase.jaguar.server

Class

JContext

public static void
     forwardResultSet( ResultSet rs) 
    throws SQLException 

Parameters

rs

A java.sql.ResultSet containing result rows from a JDBC query to a third-tier server.

See also

java.sql.ResultSet




JContext.getComponentName()

Description

Retrieves the name of the currently executing component, as displayed in EAServer Manager.

Syntax

Package

com.sybase.jaguar.server

Class

JContext

public static String
     getComponentName()

Returns

The name of the component, as displayed in EAServer Manager.

Usage

getPackageName() and getComponentName() allow you to determine the name of the currently executing component. Within a server, components are identified by the name of the EAServer Manager package where they are installed and the EAServer Manager component name.

See also

getPackageName(), Jaguar.getServerName()




JContext.getPackageName()

Description

Determines the name of the package in which the currently executing component is installed.

Syntax

Package

com.sybase.jaguar.server

Class

JContext

public static String
     getPackageName()

Returns

The name of the EAServer package, as displayed in EAServer Manager.

Usage

getPackageName() and getComponentName() allow you to determine the name of the currently executing component. Within a server, components are uniquely identified by the name of the EAServer Manager package where they are installed and the EAServer Manager component name.

See also

getComponentName(), Jaguar.getServerName()





Copyright © 2005. Sybase Inc. All rights reserved. jaguar.sql.JServerResultSet interface