; }

    Example 3:

    // In Customer class:

    &#064;ManyToMany
    &#064;JoinTable(name="CUST_PHONE",
        joinColumns=
            &#064;JoinColumn(name="CUST_ID", referencedColumnName="ID"),
        inverseJoinColumns=
            &#064;JoinColumn(name="PHONE_ID", referencedColumnName="ID")
        )
    public Set&#060;PhoneNumber&#062; getPhones() { return phones; }

    // In PhoneNumberClass:

    &#064;ManyToMany(mappedBy="phones")
    public Set&#060;Customer&#062; getCustomers() { return c