You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/BytecodeInterceptorLogging.java
+58-4Lines changed: 58 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
importjava.lang.invoke.MethodHandles;
18
18
19
19
importstaticorg.jboss.logging.Logger.Level.TRACE;
20
+
importstaticorg.jboss.logging.Logger.Level.DEBUG;
20
21
importstaticorg.jboss.logging.Logger.Level.WARN;
21
22
22
23
/**
@@ -38,13 +39,66 @@ public interface BytecodeInterceptorLogging extends BasicLogger {
38
39
@LogMessage(level = WARN)
39
40
@Message(
40
41
id = 90005901,
41
-
value = "'%s.%s' was mapped with explicit lazy group '%s'. Hibernate will ignore the lazy group - this is generally " +
42
-
"not a good idea for to-one associations as it leads to two separate SQL selects to initialize the association. " +
43
-
"This is expected to be improved in future versions of Hibernate"
42
+
value = "Ignoring explicit lazy group '%s' specified for association '%s.%s'"
43
+
+ " (a lazy group for a to-one association would lead to two separate SELECTs to initialize the association)"
0 commit comments