From c0d2075ee60a58e708e9c773baae25aa6ec10880 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Sat, 13 Apr 2024 10:43:09 +0200 Subject: [PATCH] move broken jdoc back where it belongs Signed-off-by: Gavin King --- .../persister/collection/CollectionPersister.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java b/hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java index c15785e8f9..6ad4e25a9d 100644 --- a/hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java +++ b/hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java @@ -91,6 +91,10 @@ public interface CollectionPersister extends Restrictable { */ NavigableRole getNavigableRole(); + /** + * Get the name of this collection role (the fully qualified class name, + * extended by a "property path") + */ default String getRole() { return getNavigableRole().getFullPath(); } @@ -212,7 +216,7 @@ public interface CollectionPersister extends Restrictable { PersistentCollection collection, Object key, SharedSessionContractImplementor session); - + /** * Process queued operations within the PersistentCollection. */ @@ -220,11 +224,6 @@ public interface CollectionPersister extends Restrictable { PersistentCollection collection, Object key, SharedSessionContractImplementor session); - - /** - * Get the name of this collection role (the fully qualified class name, - * extended by a "property path") - */ /** * Get the surrogate key generation strategy (optional operation)