NOSUCHMETHODEXCEPTION WHEN USING TARGETENTITY IN RELATIONSHIP MAPPING (Doc ID 1300206.1)

Last updated on MAY 31, 2011

Applies to:

Oracle TopLink - Version: 11.1.1.4.0 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

When using the targetEntity attribute of a relationship mapping for a variable whose type is not Entity class or is an interface, a NoSuchMethodException will occur within the weaved object class methods. The exception is consumed by an IllegalStateException.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms