@Deprecated private JdbcTypeField[] translateFields(Collection<CacheTypeFieldMetadata> oldFlds){
  JdbcTypeField[] newFlds=new JdbcTypeField[oldFlds.size()];
  int idx=0;
  for (  CacheTypeFieldMetadata oldField : oldFlds) {
    newFlds[idx]=new JdbcTypeField(oldField.getDatabaseType(),oldField.getDatabaseName(),oldField.getJavaType(),oldField.getJavaName());
    idx++;
  }
  return newFlds;
}

@ Deprecated private JdbcTypeField [ ] translateFields ( Collection < CacheTypeFieldMetadata > oldFlds ) { JdbcTypeField [ ] newFlds = new JdbcTypeField [ oldFlds . size ( ) ] ; int idx = 0 ; for ( CacheTypeFieldMetadata oldField : oldFlds ) { newFlds [ idx ] = new JdbcTypeField ( oldField . getDatabaseType ( ) , oldField . getDatabaseName ( ) , oldField . getJavaType ( ) , oldField . getJavaName ( ) ) ; idx ++ ; } return newFlds ; }
for backward compatibility translate old field type descriptors to new format .
