My Oracle Support Banner

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

Last updated on MARCH 15, 2019

Applies to:

Oracle TopLink - Version 11.1.1.4.0 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

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
Symptoms
Cause
Solution
References


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