Skip to content

one-to-many with composite key can throw OutOfBoundsException #300

Closed
@croensch

Description

@croensch

This is a follow up to #298 please take a look at the comment there too.

I have a one-to-many mapping in which the association table has a composite key simply of both keys right and left of the association. Now if i try to load the entity with a join it will try to hydrate the associations too. It has half of the key so it will pass it to AbstractProxyFactory, but that will now throw an OutOfBoundsException.

The same data worked flawless with 2.3.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions