DB Identity Columns which are not primary keys

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

DB Identity Columns which are not primary keys

Postby rossent » Thu Sep 27, 2012 2:44 pm

Hi Servoy,

We have several tables which use DB Identity columns but these columns are not primary keys. This is a perfectly valid scenario in any database which supports DB Identity and as far as I know there is no requirement anywhere else to make the DB Identity columns the primary key for a table.
Why does Servoy produce a warning for these cases? What is the potential problem here?
On top of that in the preferences page developers can mark such problem markers only as Warning or Error - the options Info and Ignore are missing.

I am very curious to get your input on this. As far as I am concerned, if such problem marker exists at all, its default value should be either Ignore or Info.
Rossen Totev
Argos Software
rossent
 
Posts: 288
Joined: Wed Dec 31, 2008 2:03 pm

Re: DB Identity Columns which are not primary keys

Postby rgansevles » Fri Sep 28, 2012 9:57 am

Rossen,

There was an issue in Servoy related to a db identity column not being the pk.
This is possibly db dialect related.

Do these columns work OK for you?

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 7 guests

cron