From 6f4fe47c54206df8a46362d454633d8849c47774 Mon Sep 17 00:00:00 2001 From: Gavin Date: Wed, 4 Jan 2023 22:55:12 +0100 Subject: [PATCH] update log message about hibernate.create_empty_composites.enabled --- .../main/java/org/hibernate/internal/CoreMessageLogger.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java b/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java index 037d4a577f..f12f0a4d7d 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java @@ -1690,12 +1690,11 @@ public interface CoreMessageLogger extends BasicLogger { @LogMessage(level = WARN) @Message( id = 483, - value = "An experimental feature has been enabled (" + + value = "An experimental - and now also deprecated - feature has been enabled (" + AvailableSettings.CREATE_EMPTY_COMPOSITES_ENABLED + "=true) that instantiates empty composite/embedded " + "objects when all of its attribute values are null. This feature has known issues and " + - "should not be used in production until it is stabilized. See Hibernate Jira " + - "issue HHH-11936 for details." + "should not be used in production. See Hibernate Jira issue HHH-11936 for details." ) void emptyCompositesEnabled();