Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Populating Java JTable with Resultset from Oracle
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
![]() |
![]() |