Progress
Open Client
Developer’s Guide
Getting SDOResultSet Column Values
These methods return data from a specified column on an SDOResultSet according to the specified data type. All column access methods in SDOResultSet use the flat model (see "Programming Concepts"). The column is specified by name (columnName) or number (
columnIndex
)
:
BigDecimal getBigDecimal(String columnName)
byte[] getBytes(String columnName)
String getString(String columnName)
long getLong(String columnName)
int getInt(String columnName)
double getDouble(String columnName)
boolean getBoolean(String columnName)
java.sql.Date getDate(String columnName)
Object getObject(String columnName)
BigDecimal getBigDecimal(int columnIndex)
byte[] getBytes(int columnIndex)
String getString(int columnIndex)
long getLong(int columnIndex)
int getInt(int columnIndex)
double getDouble(int columnIndex)
boolean getBoolean(int columnIndex)
java.sql.Date getDate(int columnIndex)
Object getObject(int columnIndex)
Some
java.util.Date
andjava.sql.Date
methods are being deprecated by JavaSoft in favor of using the more robustjava.util.GregorianCalendar
. These are the methods that get column values for instances of this class:For more information on the mapping between 4GL and Java data types, see the sections on Progress/Java data type mapping for TEMP–TABLE fields and passing OUTPUT TEMP–TABLE parameters in Programming Java Clients."
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |