My Oracle Support Banner

POL-5228: Foreign Keys/Constraints Not Created On Olite DB Although Script is uploaded to publication (Doc ID 435752.1)

Last updated on JANUARY 07, 2020

Applies to:

Oracle Lite - Version to [Release 10.0 to 10.2]
Information in this document applies to any platform.
*** checked for currency 8-dec-2009 ***


You have created a project using MDW(Mobile Database Workbench) which includes publication items. You have also attached a script which will create a foreign Key on the Client.


ADD CONSTRAINT cau_per_per_fk FOREIGN KEY (id,iso_3166,per_offi_offt_office_type)
REFERENCES person (unique_id,offi_cou_iso_3166,offi_offt_office_type)

After publication downloaded on client side, you see constraint foreign key is not created in Olite DB.
You can verify this by entering child record in detail table ,without even parent record exist in master table.

OL_SYNC log shows Warning POL-5228

"syntax error ALTER TABLE<TABLENAME> ADD CONSTRAINT cau_per_per_fk FOREIGN KEY (per_unique_id,
per_offi_cou_iso_3166, per_offi_offt_office_type) REFERENCES person


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.