SQLJ example classes for Sybase ASE 12.5


Class CallRankedEmps

java.lang.Object
  |
  +--CallRankedEmps

public class CallRankedEmps
extends java.lang.Object

A class with a main method that calls the SQLJ procedure "rankedemps" and prints the returned result set.


Method Summary
static void main(java.lang.String[] args)
          Invokes the "rankedemps" procedure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
Invokes the "rankedemps" procedure.

Usage:

  java CallRankedEmps  url  regionParm
  

Example invocations

  java CallRankedEmps  "antibes:4000?user=smith&password=xxx" 3
  java CallRankedEmps  "antibes:4000?user=sa" 5
  
Parameters:
args - a string array that is the command-line arguments

SQLJ example classes for Sybase ASE 12.5