I'm working with Spring Data JPA using Liquibase, i have two classes , the first one with simple key and the second one with composite key, (many to many relationship)

The First Class :

```
public class Person {

@ManyToMany(fetch = FetchType.LAZY, cascade = { CascadeType.PERSIST, CascadeType.MERGE })
    @JoinTable(name = "person_adress", joinColumns = { @JoinColumn(name = "person_id") }, inverseJoinColumns = {
            @JoinColumn(name = "adress_id"), @JoinColumn(name = "country") })
    private List<Adress> adresses;

// Other attributes
}

```

Second class : 

```
public class Adress {

@EmbeddedId
    private AdressId adressId; // contains adress_id and country as composite key

@ManyToMany(fetch = FetchType.LAZY, cascade = { CascadeType.PERSIST, CascadeType.MERGE }, mappedBy = "adresses")
    private List<Person> persons;
// Other attributes 

}

```

Liquibase file :

```
<changeSet id="......." author="........">
        <createTable tableName="person_adress">
            <column name="person_id" type="varchar(255)">
                <constraints nullable="false" />
            </column>
            <column name="adress_id" type="varchar(255)">
                <constraints nullable="false" />
            </column>
            <column name="country" type="varchar(2)">
                <constraints nullable="false" />
            </column>
        </createTable>
        <addUniqueConstraint
            columnNames="country, adress_id,person_id"
            constraintName="keey"
            tableName="person_adress" />
    </changeSet>

```

when i call this service : 

```
adress.add(ListOfPersons);
adressRepository.save(adress);

```

adress was been persisted and a list of persons too , in postgresql , but the problem that person\_adress table still empty