{
Iterator<PropertyIndex> itr = MyPropertyIndex.index( key ).iterator();
if ( !itr.hasNext() )
{
int id = (int) ds.nextId( PropertyIndex.class );
PropertyIndex index = createDummyIndex( id, key );
xaCon.getPropertyIndexConsumer().createPropertyIndex( id, key );
return index;
}
return itr.next();
}