Table of Contents Overview Menus Windows Buttons
Image Columns
If you select data that includes an image column and the ResultSet is presented in a table rather than as text (Table vs Text output), the image column does not show the binary data. Instead, the table is labeled "Click me - I'm an image."
Clicking the cell opens a new window with four choices:
- Show image data as a picture - If the image data represents a picture in gif or jpg format, the image will display in an image window.
- Show image data as hex data - This opens a window that shows the data in hex format; that is the way it would display in isql.
- Save image data to a File - The data will be saved in a file for later use. This is useful, for example, for a sound file or a video stream you want to view with some other program.
- Do nothing - Closes the choice window again.
Object Columns
If a ResultSet contains column(s) with Java objects, text appears in the ResultSet's table that says '"Click me - I'm an Object." When you do that, jisql executes the toString() method defined in that object and presents the values that the method returns as data in the table. If the object uses a method different than toString() to print out it's data, enter that name in the Option Window's Output Window Options tab; that is, change "Method used in DB Object to display data" to the name of the method used.
If the option "'Automatically extract the data from the DB Java Object'" is enabled, jisql extracts the data immediately when it detects Java objects in the ResultSet. You dol not see the "Click me" message and you do not have to click to receive the data. This slows down the creation of the ResultSet table because jisql has to do a roundtrip to the database for every row in order to execute the object's toString() (or equivalent) method.
Table of Contents Overview Menus Windows Buttons