Developer’s Guide

Table Of Contents
9-8 Developer’s Guide
About the FileMaker JDBC Driver
interfaces and extensions
The FileMaker JDBC Driver implements all of the following JDBC
interfaces:
1 CallableStatement
1 Connection
1 DatabaseMetaData
1 Driver
1 PreparedStatement
1 ResultSet
1 ResultSetMetaData
1 Statement
The following FileMaker Pro-specific extensions have been added:
The following classes have been added in support of the
FileMaker Pro extensions:
The API documentation for these standard interfaces and the
FileMaker extensions is included in HTML format in the FileMaker
JDBC folder on the FileMaker Developer 5.5 CD.
Example 1: Looking at the FileMaker Pro
Explorer application
This developer-tool-independent example is a Java application used
for displaying FileMaker Pro database information, similar to the
Windows Explorer and Mac OS Finder applications. You can use the
FileMaker Pro Explorer application along with the FileMaker JDBC
Driver to view any open database on any computer that’s shared via
the Web Companion, by specifying the JDBC URL that includes the
IP address of the computer where FileMaker Pro is running. You can
view the application’s source code in any text editor or Java editing
tool.
The application was created using the basic Java classes to display a
database tree, and FileMaker Pro-specific extensions have been
added to provide detailed information about the fields and layouts.
The user interface was created using the Swing 1.1.1 class library—
an add-on to the Java Development Kit (JDK) 1.1.8.
For information on the Swing class library, go to the Sun
Microsystems web site.
Setup requirements
Included with the example is the swingall.jar file, on the FileMaker
Developer 5.5 CD.
To view the example on Windows machines, you need:
1 Java.exe (included with JDK 1.1.8 for Windows) or equivalent
Java virtual machine installed in the system path on your computer
This JDBC interface Includes this FileMaker Pro extension
java.sql.DatabaseMetaData com.fmi.jdbc.DatabaseMetaDataExt
java.sql.ResultSetMetaData com.fmi.jdbc.ResultSetMetaDataExt
Class name Description
com.fmi.fmpdb.FMPError FileMaker Pro error codes
com.fmi.fmpdb.FMPLayoutField Information associated with a
field on a layout
com.fmi.fmpdb.FMPLayoutFieldEnumerator Class for enumerating the
fields on a layout
com.fmi.fmpdb.FMPLayoutMetaData Metadata for a given layout
com.fmi.jdbc.Array Class used to represent
repeating and related fields