When I have a constarint of deferable in the Oracle database, while creating the ADF BC, all the columns in this table is marked as primary key. any help on how to fix this?

DROP TABLE TWO.

DROP TABLE ONE;

CREATE TABLE 'A

(

ACTIVATE THE 'ID' NUMBER NOT NULL,

ACTIVATE THE "SERIAL" VARCHAR2 (10 BYTE) NOT NULL,

ACTIVATE THE "FIRST NAME" VARCHAR2 (30 BYTE) NOT NULL,

ENABLE 'PK_ONE' CONSTRAINT PRIMARY KEY ('ID', "SERIAL")

)

TABLESPACE 'USERS ';

CREATE TABLE "TWO"

(

ACTIVATE THE 'ID' NUMBER NOT NULL,

ACTIVATE THE "SERIAL" VARCHAR2 (5 BYTE) NOT NULL,

ACTIVATE THE "DEGREE_CODE" VARCHAR2 (10 BYTE) NOT NULL,

'TEST_NAME' VARCHAR2 (20 BYTE),

ACTIVATE THE KEY PRIMARY CONSTRAINT 'PK_TWO' ('ID', 'SERIAL'),

"FK_TWO' FOREIGN KEY ('ID', 'DEGREE_CODE') CONSTRAINT REFERS TO 'ONE' ('ID', 'SERIAL') MAYBE DEFERRED ENABLE

)

TABLESPACE 'USERS ';

If we use the above sql scripts to create the tables and create the ADF BC using the above 2 tables, all 4 columns in table 2 are reported as the primary key.

User, tell us your version of Jdev, please!

You should file an SR with support.oracle.com for this.

As a work around you can change the area of occurrence, and remove the check mark key pirmary on the unwanted columns. After that, it should work.

Timo

Tags: Java

Similar Questions

Maybe you are looking for