You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: Belinda Baker (Belinda Baker)
Original Redmine Issue: 21717
Affected QGIS version: 3.4.0
Redmine category:data_provider/oracle
Assignee: Jürgen Fischer
When trying to load a table into Oracle with primary key GID (1st column) with non unique IDs, an error shows "Primary key field 'GID' for view not unique." when adding a new column ID with unique IDs (based on row numbers) as new primary key (last column) and using refresh icon in Browser pane, the same error message appears despite ID becoming new primary key. Oracle provider even retains previous information about Oracle PK's or is assuming the first column is PK.
The text was updated successfully, but these errors were encountered:
Test scenario would be create table/view with non unique IDs in first column, set last column with unique IDs as primary key and see if Oracle message log in QGIS logs any error (especially Primary key field 'xxx' for view not unique.)
qgib
added
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Data Provider
Related to specific vector, raster or mesh data providers
labels
May 25, 2019
Author Name: Belinda Baker (Belinda Baker)
Original Redmine Issue: 21717
Affected QGIS version: 3.4.0
Redmine category:data_provider/oracle
Assignee: Jürgen Fischer
When trying to load a table into Oracle with primary key GID (1st column) with non unique IDs, an error shows "Primary key field 'GID' for view not unique." when adding a new column ID with unique IDs (based on row numbers) as new primary key (last column) and using refresh icon in Browser pane, the same error message appears despite ID becoming new primary key. Oracle provider even retains previous information about Oracle PK's or is assuming the first column is PK.
The text was updated successfully, but these errors were encountered: