Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

    Your stack trace compared to the selected pattern

    Jump to solutionsExpand frames
    java.lang.ClassCastException: org.eclipse.persistence.eis.mappings.EISOneToOneMapping cannot be cast to org.eclipse.persistence.mappings.OneToOneMapping
        at org.eclipse.persistence.internal.expressions.RelationExpression.checkForeignKeyJoinOptimization(RelationExpression.java:512)
        at org.eclipse.persistence.internal.expressions.RelationExpression.normalize(RelationExpression.java:535)
        at org.eclipse.persistence.internal.expressions.SQLSelectStatement.normalize(SQLSelectStatement.java:1365)
        at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.buildNormalSelectStatement(ExpressionQueryMechanism.java:543)
    4 frames hidden