Skip to content

importing many-to-many relationships feature #130

Description

@vitalz

Cayenne does not generate (associative) entity classes for many-to-many database tables when junction table just keeps only foreign keys: for instance, product and right has relationship defined by table record {product_id, right_id}. LinkMove has to provide ability to import/remove relationships in a some way like:

    LmTask task = lmRuntime.getTaskService()
                            .createOrUpdateRelationship(Product.class, Right.class)
			.sourceExtractor("product_group_has_right")
			.matchBy(Product.class, Right.class)
			.task();

Issue is per my talk to @rzen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions