Anybody seen a problem where repeated calls to a result set
return 'null' rather than the correct value ?
I am running on windows 98 using Oracle Lite (Oracle Lite ODBC Driver
2.05.00.00 ootod32.dll).
The debug and code is shown below
[APAssociatedSystemSession] 1Code: AP:Description: accounts payable
[APAssociatedSystemSession] 2Code: null:Description: accounts payable
[APAssociatedSystemSession] 3Code: AP:Description: accounts payable
----------------------------------------------------------------------------
System.out.println("1Code: " + rs.getString(1) + ":Description: " +
rs.getString(2));
AssociatedSystemData assocSystemData = new
AssociatedSystemData(rs.getString(1));
System.out.println("2Code: " + rs.getString(1) + ":Description: " +
rs.getString(2));
SimpleStaticData assocSystem = new SimpleStaticData(rs.getString(1),
rs.getString(2));
System.out.println("3Code: " + rs.getString(1) + ":Description: " +
rs.getString(2));
----------------------------------------------------------------------------
public class AssociatedSystemData
implements Serializable {
/**
* <p> Constructor
* @param String assocSystemCode
*/
public AssociatedSystemData(String assocSystemCode){
setPrimaryKey(assocSystemCode);
}
private void setPrimaryKey(String assocSystemCode){
this.primaryKey = assocSystemCode;
}
}
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]