Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] fetching of embedded relations

Title: fetching of embedded relations

Hi folks,

we try to fetch embedded relationships which are configured lazy, by using the batch hint, and get errors like this:

Exception [EclipseLink-6142] (Eclipse Persistence Services - 1.2.1.v20100114-r6267): org.eclipse.persistence.exceptions.QueryException

Exception Description: The value this.recommendedRetailPrice.currency supplied to the query hint eclipselink.batch navigated an illegal relationship.  The relationship this.recommendedRetailPrice is not a OneToOne or a OneToMany relationship.

Which is the way to fetch embedded relationships which are configured lazy?

Thanks in advance, Markus


Back to the top