|
|
@@ -31,20 +31,33 @@ FROM `TERYT_TERC` where ((`TERYT_TERC`.`POW` = 0) or isnull(`TERYT_TERC`.`POW`))
|
|
|
schemaLocation="../../default_db.TERYT_ULIC/TERYT_ULIC/TERYT_ULIC.xsd"/>
|
|
|
<xs:complexType name="TERYT_wojewodztwa">
|
|
|
<xs:sequence>
|
|
|
- <xs:element name="WOJ" type="xs:int"/>
|
|
|
+ <xs:element name="ID" type="xs:int">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>to samo `TERYT_TERC`.`WOJ` AS `ID`,
|
|
|
+ `TERYT_TERC`.`WOJ` AS `WOJ`,</xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:element>
|
|
|
+ <xs:element name="WOJ" type="xs:int">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>to samo `TERYT_TERC`.`WOJ` AS `ID`,
|
|
|
+ `TERYT_TERC`.`WOJ` AS `WOJ`,</xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ </xs:element>
|
|
|
<xs:element name="NAZWA" type="xs:string"/>
|
|
|
<xs:element maxOccurs="unbounded" ref="default_db__x3A__TERYT_powiaty:TERYT_powiaty"
|
|
|
minOccurs="0">
|
|
|
<xs:annotation>
|
|
|
<xs:appinfo>
|
|
|
<system_cache__appinfo:flat_relation_cache>
|
|
|
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
|
|
|
- <fes:Filter>
|
|
|
+ <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
|
|
|
+ system_cache__appinfo:name="ID"
|
|
|
+ system_cache__appinfo:xpath="default_db__x3A__TERYT_powiaty:TERYT_powiaty/ID_TERYT_wojewodztwa">
|
|
|
+ <!--<fes:Filter>
|
|
|
<fes:PropertyIsEqualTo>
|
|
|
<fes:ValueReference>WOJ</fes:ValueReference>
|
|
|
<fes:ValueReference>default_db__x3A__TERYT_powiaty:TERYT_powiaty/WOJ</fes:ValueReference>
|
|
|
</fes:PropertyIsEqualTo>
|
|
|
- </fes:Filter>
|
|
|
+ </fes:Filter>-->
|
|
|
</system_cache__appinfo:source>
|
|
|
</system_cache__appinfo:flat_relation_cache>
|
|
|
</xs:appinfo>
|
|
|
@@ -55,9 +68,11 @@ FROM `TERYT_TERC` where ((`TERYT_TERC`.`POW` = 0) or isnull(`TERYT_TERC`.`POW`))
|
|
|
ref="default_db__x3A__TERYT_gminy:TERYT_gminy">
|
|
|
<xs:annotation>
|
|
|
<xs:appinfo>
|
|
|
- <system_cache__appinfo:flat_relation_cache>
|
|
|
- <system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
|
|
|
- <fes:Filter>
|
|
|
+ <system_cache__appinfo:flat_relation_cache system_cache__appinfo:backref_evaluate="true">
|
|
|
+ <system_cache__appinfo:source system_cache__appinfo:ref_engine="view"
|
|
|
+ system_cache__appinfo:name="ID"
|
|
|
+ system_cache__appinfo:xpath="default_db__x3A__TERYT_gminy:TERYT_gminy/ID_TERYT_wojewodztwa">
|
|
|
+ <!--<fes:Filter>
|
|
|
<fes:And>
|
|
|
<fes:PropertyIsEqualTo>
|
|
|
<fes:ValueReference>WOJ</fes:ValueReference>
|
|
|
@@ -68,11 +83,14 @@ FROM `TERYT_TERC` where ((`TERYT_TERC`.`POW` = 0) or isnull(`TERYT_TERC`.`POW`))
|
|
|
<fes:ValueReference>default_db__x3A__TERYT_gminy:TERYT_gminy/POW</fes:ValueReference>
|
|
|
</fes:PropertyIsEqualTo>
|
|
|
</fes:And>
|
|
|
- </fes:Filter>
|
|
|
+ </fes:Filter>-->
|
|
|
</system_cache__appinfo:source>
|
|
|
</system_cache__appinfo:flat_relation_cache>
|
|
|
</xs:appinfo>
|
|
|
- <xs:documentation>Przejście do gminy wymagać będzie skomplikowanego 3 stronnego joina</xs:documentation>
|
|
|
+ <xs:documentation>Przejście do gminy wymagać będzie skomplikowanego 3 stronnego joina.
|
|
|
+ Backref evaluate - dla tego, ze ten przeskok jest dodatkowy - powinno isc normalnie przez powiaty najpierw - to jest krot - wiec zaznaczam jako backref evaluate? Czy to dobra zaleznosc?
|
|
|
+ Moze lepiej nie dawac takich dodatkowych skrotow do grupowania - lepiej liczyc na tozsamosc w silniku agregujaca docelowo?
|
|
|
+ </xs:documentation>
|
|
|
</xs:annotation>
|
|
|
</xs:element>
|
|
|
<xs:element maxOccurs="unbounded" minOccurs="1"
|
|
|
@@ -80,8 +98,7 @@ FROM `TERYT_TERC` where ((`TERYT_TERC`.`POW` = 0) or isnull(`TERYT_TERC`.`POW`))
|
|
|
<xs:annotation>
|
|
|
<xs:appinfo>
|
|
|
<system_cache__appinfo:flat_relation_cache>
|
|
|
- <system_cache__appinfo:source
|
|
|
- system_cache__appinfo:name="WOJ"
|
|
|
+ <system_cache__appinfo:source system_cache__appinfo:name="ID"
|
|
|
system_cache__appinfo:ref_engine="view"
|
|
|
system_cache__appinfo:xpath="default_db__x3A__TERYT_SIMC:TERYT_SIMC/WOJ"/>
|
|
|
</system_cache__appinfo:flat_relation_cache>
|
|
|
@@ -102,9 +119,7 @@ FROM `TERYT_TERC` where ((`TERYT_TERC`.`POW` = 0) or isnull(`TERYT_TERC`.`POW`))
|
|
|
<xs:appinfo>
|
|
|
<system_cache__appinfo:flat_relation_cache>
|
|
|
<system_cache__appinfo:flat_relation_cache>
|
|
|
- <system_cache__appinfo:source
|
|
|
- system_cache__appinfo:name="WOJ"
|
|
|
- system_cache__appinfo:ref_engine="view"
|
|
|
+ <system_cache__appinfo:source system_cache__appinfo:name="ID" system_cache__appinfo:ref_engine="view"
|
|
|
system_cache__appinfo:xpath="default_db__x3A__TERYT_ULIC:TERYT_ULIC/WOJ"/>
|
|
|
</system_cache__appinfo:flat_relation_cache>
|
|
|
<!--<system_cache__appinfo:source system_cache__appinfo:ref_engine="view">
|