A C D G I J L M R S U Z

A

Address - class Address.
A simple class for address data, to illustrate using a Java class as an SQL datatype.
Address() - Constructor for class Address
A default constructor.
Address(String, String) - Constructor for class Address
A constructor with parameters.
Address2Line - class Address2Line.
A subclass of the Address class to add a second line of address data.
Address2Line() - Constructor for class Address2Line
A default constructor.
Address2Line(String, String, String) - Constructor for class Address2Line
A constructor with parameters.

C

caller(Connection) - Static method in class JDBCExamples
A JDBCExamples method to call a stored procedure, passing input and output parameters of datatype String and Address.
connecter(String) - Static method in class JDBCExamples
A JDBCExamples method to get a connection.

D

display() - Method in class Address
A method to return a display of the address data.
Display() - Method in class Address2Line
A method to return a display of the address data.
doAction(String, Connection, String) - Static method in class JDBCExamples
A JDBCExamples method to route to the action to be performed
doSQL(Connection, String) - Static method in class JDBCExamples
A JDBCExamples method to execute an SQL statement.

G

General - class General.
A non-instantiable class with static methods to illustrate technical points regarding Java-SQL datatype mappings and null values.
getNumber(String) - Static method in class Misc
Extracts the street number from an address line.
getStreet(String) - Static method in class Misc
Extracts the "street" from an address line.

I

identity1(int) - Static method in class General
An int identity method.
identity2(Integer) - Static method in class General
An Integer identity method.
identity3(Address) - Static method in class General
An Address identity method.

J

JDBCExamples - class JDBCExamples.
An example class illustrating the use of JDBC facilities with the Java-in-SQL feature of ASE 12.0.

L

line2 - Variable in class Address2Line
The second line of street data for the address.

M

main(String[]) - Static method in class JDBCExamples
Invokes the other methods, based on the 2nd command line parameter.
Misc - class Misc.
A non-instantiable class with miscellaneous static methods that illustrate the use of Java methods in SQL.

R

removeLeadingBlanks() - Method in class Address
A void method to remove leading blanks.
removeLeadingBlanks() - Method in class Address2Line
A void method to remove leading blanks.

S

selecter(Connection) - Static method in class JDBCExamples
A JDBCExamples method to retrieve a certain row of the "xmp" table.
serverMain(String) - Static method in class JDBCExamples
A JDBCExamples method equivalent to the main method, to be called from SQL or Java in the server
street - Variable in class Address
The street data for the address.
stripLeadingBlanks(String) - Static method in class Misc
Removes leading blanks from a String.

U

updater(Connection) - Static method in class JDBCExamples
A method that updates a certain row of the "xmp" table.

Z

zip - Variable in class Address
The zipcode data for the address.

A C D G I J L M R S U Z