complete details posted in https://stackoverflow.com/questions/465 ... 3#46593443
DevArt suggested to use ry setting config.CodeFirstOptions.TruncateLongDefaultNames=true. but this doesn't help.
below one of the table scripts causing this error.
Code: Select all
CREATE TABLE DADeskSettings (
UserID NVARCHAR2(2000) NOT NULL,
Password NVARCHAR2(2000) NOT NULL,
DADeskURL NVARCHAR2(2000) NOT NULL,
WebURL NVARCHAR2(2000) NOT NULL,
IsDADeskSettings NUMBER(1) NOT NULL,
DAType VARCHAR2(4 CHAR) NOT NULL,
UPDATEDADESK NUMBER(1) NOT NULL,
isshortseavoy NUMBER(1) NULL,
CreatedBy VARCHAR2(8 CHAR) NULL,
UpdatedBy VARCHAR2(8 CHAR) NULL,
CONSTRAINT PK_DADeskSettings PRIMARY KEY (UserID, Password, DADeskURL, WebURL, IsDADeskSettings, DAType)
)
ORA-01450: maximum key length (6398) exceeded
regards,
Anand