version 1.21, 2006/01/30 16:18:20
|
version 1.21.2.1, 2006/06/09 17:22:22
|
|
|
fields.append(toClassName.getString()); | fields.append(toClassName.getString()); |
fields.append(toPropertyName.getString()); | fields.append(toPropertyName.getString()); |
| |
for (Uint16 x=0; x<fields.size();x++) |
|
{ |
|
fields[x].toLower(); |
|
} |
|
| |
_PutRecord(os, fields); | _PutRecord(os, fields); |
| |
|
|
fields.append(toClassName.getString()); | fields.append(toClassName.getString()); |
fields.append(toPropertyName.getString()); | fields.append(toPropertyName.getString()); |
| |
for (Uint16 x=0; x<fields.size();x++) |
|
{ |
|
fields[x].toLower(); |
|
} |
|
| |
_PutRecord(os, fields); | _PutRecord(os, fields); |
| |
|
|
// For each line in the associations table: | // For each line in the associations table: |
while (_GetRecord(is, fields)) | while (_GetRecord(is, fields)) |
{ | { |
// The cache key is always expected to be in lowercase |
|
// While new association records are added in lowercase, |
|
// the following line is required for compatibility |
|
// with old repositories. |
|
fields[FROM_CLASS_NAME_INDEX].toLower(); |
|
cache->addRecord(fields[FROM_CLASS_NAME_INDEX], | cache->addRecord(fields[FROM_CLASS_NAME_INDEX], |
fields); | fields); |
} | } |
|
|
for (Uint16 idx=0; idx < classList.size(); idx++) | for (Uint16 idx=0; idx < classList.size(); idx++) |
{ | { |
String fromClassName = classList[idx].getString(); | String fromClassName = classList[idx].getString(); |
fromClassName.toLower(); |
|
if (cache->getAssocClassEntry(fromClassName, records)) | if (cache->getAssocClassEntry(fromClassName, records)) |
{ | { |
for (Uint16 rx=0; rx <records.size(); rx++) | for (Uint16 rx=0; rx <records.size(); rx++) |