DATAJDBC-218 - The Column annotation affects the back reference too.
Also: Added documentation for the new behavior. Made the value of the column annotation optional by providing a default. Original pull request: #83.
This commit is contained in:
@@ -93,7 +93,7 @@ public class BasicRelationalPersistentPropertyUnitTests {
|
||||
.getRequiredPersistentEntity(DummyEntity.class) //
|
||||
.getRequiredPersistentProperty("someList");
|
||||
|
||||
assertThat(listProperty.getColumnName()).isEqualTo("dummy_column_name");
|
||||
assertThat(listProperty.getReverseColumnName()).isEqualTo("dummy_column_name");
|
||||
assertThat(listProperty.getKeyColumn()).isEqualTo("dummy_key_column_name");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user