Skip to content

@Collection(reference="xxx")偶尔关联失效 #3

@PactStart

Description

@PactStart

查询Activity时,awards有时候没有关联出来(偶然,无法重现)
Activity activity = activityDao.findById(form.getId());

@entity(cacheable = false)
@table(name = "act_activity")
public class Activity {
//...
@Collection(reference = "activityId")
private List awards;
}

@entity(cacheable = false)
@table(name = "act_award")
public class ActivityAward {
//...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions