Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Populating Java JTable with Resultset from Oracle

Populating Java JTable with Resultset from Oracle

From: Paul Neaves <neavesp_at_hotmail.com>
Date: 20 Mar 2002 07:56:01 -0800
Message-ID: <3d60fcad.0203200756.50101599@posting.google.com>


I'm writing a UI that sends dynamic queries to an Oracle database and populates a JTable with the resultset.

The cell renderer for each cell is based on the data type of the column (from the metadata).

The problem is that Oracle does not support boolean fields. And because the application doesn't know what the data types will be for each column until it is handed a resultset, it can't distinguish between an integer that represents a quantity and an integer ( 0 or 1 ) that represents a boolean flag.

Any ideas?

Paul Received on Wed Mar 20 2002 - 09:56:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US