Hello,

I can't figure out how I should configure my oracle db to avoid qgis to 
duplicate oracle views in the layer manager. Like shown in the following link:

https://i.stack.imgur.com/esjuI.png

On this image we can see that all oracle views are displayed 3 times:


  *   Once as an attribute table
  *   Once as a layer with a known primary key
  *   Once as a layer without a known primary key

I though that the issue was link to the fact that the views had no primary 
keys. This as I saw in the oracle provider code (qgsoracleprovider.cpp)  that 
there is logic to select a column of the view/table that could be a primary key.

Therefore, I tried to set a primary key on one view as Oracle allows it (in 
disabled mode). But without any success.

As any one a suggestion? An idea how I could correctly define my oracle views?

I am using Qgis 3.16.9

Thanks

Jonathan








Disclaimer

Le pr?sent courriel ainsi que ses annexes ?ventuelles peuvent contenir des 
informations confidentielles et/ou prot?g?es par des droits de propri?t? 
intellectuelle et sont destin?s ? l'usage exclusif du (des) destinataire(s) 
susmentionn?(s). Toute utilisation - notamment, mais non exclusivement, pour la 
reproduction, la communication ou la distribution totale ou partielle sous 
quelque forme que ce soit - de leur contenu par des personnes autres que le(s) 
destinataire(s) d?sign?(s) est interdite. Si vous avez re?u ce courriel par 
erreur, veuillez en informer l'exp?diteur soit par t?l?phone soit par courriel, 
et supprimer de tout ordinateur les donn?es y aff?rentes. Merci de votre 
collaboration. En d?pit des pr?cautions prises, des courriels peuvent ?tre 
intercept?s, modifi?s, perdus, d?truits ou contenir des virus. Nous d?clinons 
toute responsabilit? quant aux ?ventuels dommages ?ventuellement caus?s dans 
cette ?ventualit?. Toute personne qui communique avec SIBELGA par courriel est 
suppos?e accepter ce risque.

Deze mail en zijn eventuele bijlagen kunnen informatie bevatten die 
vertrouwelijk is en/of beschermd door intellectuele-eigendomsrechten en zijn 
bestemd voor exclusief gebruik door voormelde geadresseerde(n). Elk gebruik - 
onder meer, maar niet exclusief, voor volledige of gedeeltelijke reproductie, 
communicatie of distributie, onder welke vorm ook - van de inhoud ervan door 
andere personen dan de aangeduide geadresseerde(n), is verboden. Hebt u deze 
mail per vergissing ontvangen, gelieve de verzender daarvan per telefoon of 
mail te verwittigen, en de eraan gekoppelde gegevens van elke computer te 
verwijderen. Met dank voor uw medewerking. Ondanks de genomen voorzorgen, 
kunnen er mails worden onderschept, gewijzigd, verloren, vernietigd of kunnen 
zij virussen bevatten. Wij wijzen elke verantwoordelijkheid af met betrekking 
tot eventuele schade die in die hypothese zou zijn veroorzaakt. Elke persoon 
die via mail met SIBELGA communiceert, wordt geacht dat risico te aanvaarden.

Sibelga<https://www.sibelga.be>

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to