17
17
import org .hibernate .HibernateException ;
18
18
import org .hibernate .Internal ;
19
19
import org .hibernate .JDBCException ;
20
- import org .hibernate .LockMode ;
21
20
import org .hibernate .cache .CacheException ;
22
21
import org .hibernate .id .IntegralDataTypeHolder ;
23
22
import org .hibernate .type .SerializationException ;
29
28
import org .jboss .logging .annotations .MessageLogger ;
30
29
import org .jboss .logging .annotations .ValidIdRange ;
31
30
32
- import jakarta .transaction .Synchronization ;
33
31
import org .checkerframework .checker .nullness .qual .Nullable ;
34
32
35
33
import static org .jboss .logging .Logger .Level .DEBUG ;
@@ -110,14 +108,6 @@ public interface CoreMessageLogger extends BasicLogger {
110
108
@ Message (value = "Duplicate generator name %s" , id = 69 )
111
109
void duplicateGeneratorName (String name );
112
110
113
- @ LogMessage (level = INFO )
114
- @ Message (value = "entity listener duplication, first event definition will be used: %s" , id = 73 )
115
- void duplicateListener (String className );
116
-
117
- @ LogMessage (level = WARN )
118
- @ Message (value = "Found more than one <persistence-unit-metadata>, subsequent ignored" , id = 74 )
119
- void duplicateMetadata ();
120
-
121
111
@ LogMessage (level = WARN )
122
112
@ Message (value = "Entity [%s] is abstract-class/interface explicitly mapped as non-abstract; be sure to supply entity-names" ,
123
113
id = 84 )
@@ -273,14 +263,6 @@ void missingArguments(
273
263
@ Message (value = "Start time: %s" , id = 251 )
274
264
void startTime (long startTime );
275
265
276
- @ LogMessage (level = INFO )
277
- @ Message (value = "Synchronization [%s] was already registered" , id = 259 )
278
- void synchronizationAlreadyRegistered (Synchronization synchronization );
279
-
280
- @ LogMessage (level = ERROR )
281
- @ Message (value = "Exception calling user Synchronization [%s]: %s" , id = 260 )
282
- void synchronizationFailed (Synchronization synchronization , Throwable t );
283
-
284
266
@ LogMessage (level = INFO )
285
267
@ Message (value = "Table not found: %s" , id = 262 )
286
268
void tableNotFound (String name );
@@ -301,10 +283,6 @@ void missingArguments(
301
283
@ Message (value = "Error accessing type info result set: %s" , id = 273 )
302
284
void unableToAccessTypeInfoResultSet (String string );
303
285
304
- @ LogMessage (level = WARN )
305
- @ Message (value = "Unable to apply constraints on DDL for %s" , id = 274 )
306
- void unableToApplyConstraints (String className , @ Cause Exception e );
307
-
308
286
@ LogMessage (level = WARN )
309
287
@ Message (value = "Unable to cleanup temporary id table after use [%s]" , id = 283 )
310
288
void unableToCleanupTemporaryIdTable (Throwable t );
@@ -483,14 +461,6 @@ void cannotResolveNonNullableTransientDependencies(
483
461
)
484
462
void usingFollowOnLocking ();
485
463
486
- @ LogMessage (level = WARN )
487
- @ Message (
488
- value = "Alias-specific lock modes requested, which is not currently supported with follow-on locking; " +
489
- "all acquired locks will be [%s]" ,
490
- id = 445
491
- )
492
- void aliasSpecificLockingWithFollowOnLocking (LockMode lockMode );
493
-
494
464
@ LogMessage (level = WARN )
495
465
@ Message (
496
466
value = "Explicit use of UPGRADE_SKIPLOCKED in lock() calls is not recommended; use normal UPGRADE locking instead" ,
@@ -670,14 +640,6 @@ void unableToLocateStaticMetamodelField(
670
640
)
671
641
void invalidJSONColumnType (String actual , String expected );
672
642
673
- @ LogMessage (level = TRACE )
674
- @ Message (value = "Closing logical connection" , id = 456 )
675
- void closingLogicalConnection ();
676
-
677
- @ LogMessage (level = TRACE )
678
- @ Message (value = "Logical connection closed" , id = 457 )
679
- void logicalConnectionClosed ();
680
-
681
643
@ LogMessage (level = TRACE )
682
644
@ Message (value = "Initializing service: %s" , id = 500 )
683
645
void initializingService (String serviceRole );
0 commit comments