Error
Error Code:
ORA-28335
ORA-28335: Encrypted FK Constraint Issue
Description
This error, ORA-28335, occurs in Oracle Database when attempting to create or modify a foreign key relationship involving encrypted columns. The database restricts referential constraints on encrypted columns to ensure data integrity and security compliance.
Error Message
referenced or referencing FK constraint column cannot be encrypted
Known Causes
3 known causesEncrypted FK Column
A column intended for use as a foreign key is encrypted using Transparent Data Encryption (TDE).
Referencing Encrypted Column
The column being referenced by a foreign key constraint is encrypted, violating the restriction.
Altering Existing Constraint
An attempt is made to alter an existing foreign key constraint to include an encrypted column.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service