Commit a6e3f128fa4f73f92131f48d953148969f904d9c

Authored by Edmar Moretti
1 parent fe48b00d

--no commit message

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
ferramentas/saiku/esquemaxml.php
... ... @@ -544,7 +544,7 @@ function dimensoesOutras(){
544 544 $xml3 .= "<view alias='".$k."' ><SQL dialect='generic' >$sql</SQL></view>";
545 545 $xml3 .= "<Level name='".converte($d["nome"])."'
546 546 column='codigo'
547   - nameColumn='nome' uniqueMembers='true' />
  547 + nameColumn='nome' uniqueMembers='true' type='String' />
548 548 ";
549 549 $xml3 .= "</Hierarchy>
550 550 </Dimension>";
... ... @@ -618,7 +618,7 @@ function dimensoesTabelas(){
618 618 if($parametro["tipo"] > 5 || $parametro["tipo"] == 0){
619 619 $outrosParametros[] = $k;
620 620 $VirtualCubeDimension[] = "<VirtualCubeDimension name='{$k}' />";
621   - $u = "<DimensionUsage type='String' foreignKey='".$parametro["coluna"]."' name='nome' source='{$k}'/>";
  621 + $u = "<DimensionUsage foreignKey='".$parametro["coluna"]."' name='nome' source='{$k}'/>";
622 622 $dimEnsoes[] = $u;
623 623 array_push($VirtualCubeDimensionDaRegiao[$c["codigo_tipo_regiao"]],"<VirtualCubeDimension name='{$k}' />");
624 624 }
... ...