Subject | Bug in FBResultSet |
---|---|
Author | Massimo Ferrari |
Post date | 2002-03-10T10:26:35Z |
Hi,
FBResultSet has still an open bug:
public boolean getBoolean(int columnIndex) throws SQLException {
Object obj = getObject(columnIndex).toString();
should be substituted with
public boolean getBoolean(int columnIndex) throws SQLException {
Object obj = getObject(columnIndex);
else the following statements will not work.
(if (obj == null) and if (obj instanceof Number))
Regards
Massimo
FBResultSet has still an open bug:
public boolean getBoolean(int columnIndex) throws SQLException {
Object obj = getObject(columnIndex).toString();
should be substituted with
public boolean getBoolean(int columnIndex) throws SQLException {
Object obj = getObject(columnIndex);
else the following statements will not work.
(if (obj == null) and if (obj instanceof Number))
Regards
Massimo