Oracle Solution for Error ora-21604

Solution for Oracle Error ORA-21604

ORA-21604: property [string] is not a property of transient or value instances

What triggered the Error:

ying to get a property which applies only to persistent objects.

What should we do to fix it:

er should check the lifetime and only get this property for persistent objects.