When I go in the content tab, make it editable, then try to insert a record, i get the error:
Attempt to modify an identity column 'ID'.
My database is in Derby.
The table in the example screen shot is created with this statement:
"CREATE TABLE action ("+
"ID INT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1,INCREMENT BY 1),"+
"ActionID SMALLINT NOT NULL default 0,"+
"TimeAction BIGINT NOT NULL default 0,"+
"DescAction LONG VARCHAR NOT NULL default '',"+
"Section SMALLINT NOT NULL default 0,"+
"CPUID SMALLINT NOT NULL default 0,"+
"PRIMARY KEY (ID)"+
Is it an error or am I doing something wrong?
Log in to post a comment.