LEFT - One of the associated entitiesRIGHT - The other of the associated entitiespublic interface AssociationDao<LEFT,RIGHT>
AssociationDao is used for managing many-to-many
 relations that are stored in a third table, not by directly joining
 the entity tables themselves.
 The entity table must have exactly three columns, all integers:
 Note that the names LEFT and RIGHT are
 simply tuple names, and have nothing to do with left joins or right joins.
| Modifier and Type | Method and Description | 
|---|---|
| void | deleteAssociation(LEFT left,
                 RIGHT right)Remove an association from the underlying store | 
| Long | insertAssociation(LEFT left,
                 RIGHT right)Persist a new association between two entities. | 
| List<LEFT> | selectLeftAssociates(RIGHT right)Finds all the instances of  LEFTentities
 associated with theRIGHTinstance passed. | 
| List<RIGHT> | selectRightAssociates(LEFT left)Finds all the instances of  RIGHTentities
 associated with theLEFTinstance passed. | 
List<LEFT> selectLeftAssociates(RIGHT right)
LEFT entities
 associated with the RIGHT instance passed.right - The entity instance whose associates are to be selectedList<RIGHT> selectRightAssociates(LEFT left)
RIGHT entities
 associated with the LEFT instance passed.left - The entity instance whose associates are to be selectedLong insertAssociation(LEFT left, RIGHT right)
left - an instance of the LEFT entity to be associatedright - and instance of the RIGHT entity to be associatedCopyright © 2019. All rights reserved.