Mamta Satoor wrote:
In the following snippet of Dan's comments, what does it mean to return SQLChar with the value of CollateSQLChar? I am definitely not clear on the new getValue method on StringDataValue and how it will function for SQLChar and CollatorSQLChar. Dan, can you please elaborate more on it? For CollatorSQLChar getValue(null) would return a new SQLChar() with the value of the CollateSQLChar

Example code for CollatorSQLChar

StringDataValue getValue(RuleBasedCollator collation)
{
   if (collation == null)
   {
     // Just need UCS_BASIC collation
     SQLChar s = new SQLChar();
     s.setValue(this);
     return s;
   }

    setCollator(collation);
    return this;
}

I'm assuming that this call is made once when an Activation is initialized and not for every compared value.

Dan.

Reply via email to