Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…0f6bcb9c3ae2993

That constructor form is used by Reactive.
  • Loading branch information
sebersole committed Aug 1, 2024
1 parent 31e7037 commit 365e9c4
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,23 @@ public CircularFetchImpl(
this.referencedNavigablePath = referencedNavigablePath;
}

/**
* Used from Hibernate Reactive
*/
@SuppressWarnings("unused")
protected CircularFetchImpl(CircularFetchImpl original) {
super(
original.getNavigablePath(),
original.getFetchedMapping(),
original.getFetchParent(),
original.getKeyResult(),
original.getDiscriminatorFetch(),
original.isSelectByUniqueKey()
);
this.timing = original.timing;
this.referencedNavigablePath = original.referencedNavigablePath;
}

@Override
public NavigablePath getReferencedPath() {
return referencedNavigablePath;
Expand Down

0 comments on commit 365e9c4

Please sign in to comment.