Reference | Help | Introduction | Slide Show | Class Hierarchy | InterClient | ||
PREV | NEXT | FRAMES | NO FRAMES |
To access InterClient method extensions, cast a generically declared java.sql object instance to its corresponding interbase.interclient instance before applying the method.
For example, the following code fragment shows how to cast an
InterClient driver instance in order to access a
hypothetical InterClient Driver extension method isBuzzwordCompliant()
.
// Create an InterClient driver as a generic JDBC driver java.sql.Driver driver = new interbase.interclient.Driver (); // Since isBuzzwordCompliant() is NOT a JDBC method, // cast the generic driver instance to its actual interclient instance. if (((interbase.interclient.Driver) driver).isBuzzwordCompliant ()) System.out.println("It's Buzzword compliant too!");This same approach may be applied to all InterClient method extensions to the standard JDBC interfaces.
Reference | Help | Introduction | Slide Show | Class Hierarchy | InterClient | ||
PREV | NEXT | FRAMES | NO FRAMES |