Next Previous Up Contents
Next: Processing StarTables
Up: GUI Support
Previous: Table Chooser Components

5.3 SQL Database Interaction

As explained in Section 3.7, tables can be read from and written to SQL databases using the JDBC framework. Since quite a lot of information has to be specified to indicate the details of the table source/destination (driver name, server host, database name, table name, user authentication information...) in most cases this requires rather user-unfriendly URLs to be entered. For graphical applications, special dialogue components are supplied which makes this much easier for the user. These contain one input field per piece of information, so that the user does not need to remember or understand the JDBC-driver-specific URL. There are two of these components: SQLReadDialog for reading tables and SQLWriteDialog for writing them.


Next Previous Up Contents
Next: Processing StarTables
Up: GUI Support
Previous: Table Chooser Components

STIL - Starlink Tables Infrastructure Library
Starlink User Note252
STIL web page: http://www.starlink.ac.uk/stil/
Author email: m.b.taylor@bristol.ac.uk
Starlink: http://www.starlink.ac.uk/