Bug 14315

Informational

GemConnect

2.4, 2.3, 2.2.3, 2.2.2, 2.2.1, 2.2, 2.1.1, 2.1, 2.0.1, 2.0, 1.1.6, 1.1.5, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 1.0

All

Non-mapped instance variables result in errors during SQL update generation

If you attempt to generate an SQL update command using the generateSQLUpdate:instVarName:newValue:table:columns:keys:
method for an instance variable that is not part of the receiving object's
column mapping, you will receive the following error:

_____________________________
GemStone: Error  Nonfatal
An indexable object or NSC anArray() was referenced with an index 2 that
was out of range.
Error category: [GemStone] Number: 2003 Arg Count:2
Arg 1: an Array
Arg 2: 2

Workaround

Verify that instance variables are column mapped before generating any
SQL update statements for them.


                

Last updated: 10/2/23