Can handle one to many & many to one relations in docstore only entities (#1158)

This commit is contained in:
Roland Praml
2017-10-06 09:42:05 +13:00
committed by Rob Bygrave
parent 1651d5e119
commit bbe8abcc2e
6 changed files with 204 additions and 1 deletions
@@ -96,7 +96,7 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> {
if (!isTransient) {
//noinspection StatementWithEmptyBody
if (embedded) {
if (embedded || descriptor.isDocStoreOnly()) {
// no imported or exported information
} else if (!oneToOneExported) {
importedId = createImportedId(this, targetDescriptor, tableJoin);