17
17
import org .hibernate .JDBCException ;
18
18
import org .hibernate .LockMode ;
19
19
import org .hibernate .cache .CacheException ;
20
- import org .hibernate .dialect .Dialect ;
21
- import org .hibernate .engine .jdbc .env .internal .LobCreationLogging ;
22
20
import org .hibernate .engine .spi .SessionFactoryImplementor ;
23
21
import org .hibernate .id .IntegralDataTypeHolder ;
24
22
import org .hibernate .service .Service ;
@@ -58,14 +56,6 @@ public interface CoreMessageLogger extends BasicLogger {
58
56
id = 8 )
59
57
void autoFlushWillNotWork ();
60
58
61
- /**
62
- * @deprecated Use {@link org.hibernate.engine.jdbc.batch.JdbcBatchLogging#batchContainedStatementsOnRelease} instead
63
- */
64
- @ Deprecated
65
- @ LogMessage (level = INFO )
66
- @ Message (value = "Releases batch still contained JDBC statements" , id = 10 )
67
- void batchContainedStatementsOnRelease ();
68
-
69
59
@ LogMessage (level = WARN )
70
60
@ Message (value = "Configuration settings with for connection provider '%s' are set, but the connection provider is not on the classpath; these properties will be ignored" ,
71
61
id = 22 )
@@ -482,14 +472,6 @@ void synchronizationFailed(
482
472
@ Message (value = "Could not deserialize cache file [%s]: %s" , id = 307 )
483
473
void unableToDeserializeCache (String path , SerializationException error );
484
474
485
- /**
486
- * @deprecated Use {@link org.hibernate.engine.jdbc.batch.JdbcBatchLogging#unableToExecuteBatch} instead
487
- */
488
- @ LogMessage (level = ERROR )
489
- @ Message (value = "Exception executing batch [%s], SQL: %s" , id = 315 )
490
- @ Deprecated
491
- void unableToExecuteBatch (Exception e , String sql );
492
-
493
475
@ LogMessage (level = INFO )
494
476
@ Message (value = "Could not find any META-INF/persistence.xml file in the classpath" , id = 318 )
495
477
void unableToFindPersistenceXmlInClasspath ();
@@ -542,14 +524,6 @@ void synchronizationFailed(
542
524
@ Message (value = "Could not read or init a hi value" , id = 351 )
543
525
void unableToReadOrInitHiValue (@ Cause SQLException e );
544
526
545
- /**
546
- * @deprecated Use {@link org.hibernate.engine.jdbc.batch.JdbcBatchLogging#unableToReleaseBatchStatement} instead
547
- */
548
- @ LogMessage (level = ERROR )
549
- @ Message (value = "Unable to release batch statement..." , id = 352 )
550
- @ Deprecated
551
- void unableToReleaseBatchStatement ();
552
-
553
527
@ LogMessage (level = ERROR )
554
528
@ Message (value = "Could not release a cache lock: %s" , id = 353 )
555
529
void unableToReleaseCacheLock (CacheException ce );
@@ -594,14 +568,6 @@ void synchronizationFailed(
594
568
@ Message (value = "I/O reported error writing cached file: %s: %s" , id = 378 )
595
569
void unableToWriteCachedFile (String path , String message );
596
570
597
- /**
598
- * @deprecated Use {@link org.hibernate.engine.jdbc.JdbcLogging#unexpectedRowCounts} instead
599
- */
600
- @ LogMessage (level = WARN )
601
- @ Message (value = "JDBC driver did not return the expected number of row counts" , id = 381 )
602
- @ Deprecated
603
- void unexpectedRowCounts ();
604
-
605
571
@ LogMessage (level = WARN )
606
572
@ Message (value = "ResultSet had no statement associated with it, but was not yet registered" , id = 386 )
607
573
void unregisteredResultSetWithoutStatement ();
@@ -624,14 +590,6 @@ void unsupportedMultiTableBulkHqlJpaql(
624
590
@ Message (value = "Explicit segment value for id generator [%s.%s] suggested; using default [%s]" , id = 398 )
625
591
void usingDefaultIdGeneratorSegmentValue (String tableName , String segmentColumnName , String defaultToUse );
626
592
627
- /**
628
- * @deprecated Use {@link org.hibernate.dialect.DialectLogging#usingDialect} instead
629
- */
630
- @ LogMessage (level = DEBUG )
631
- @ Message (value = "Using dialect: %s" , id = 400 )
632
- @ Deprecated
633
- void usingDialect (Dialect dialect );
634
-
635
593
@ LogMessage (level = ERROR )
636
594
@ Message (value = "Don't use old DTDs, read the Hibernate 3.x Migration Guide" , id = 404 )
637
595
void usingOldDtd ();
@@ -657,41 +615,6 @@ void unsupportedMultiTableBulkHqlJpaql(
657
615
@ Message (value = "Closing un-released batch" , id = 420 )
658
616
void closingUnreleasedBatch ();
659
617
660
-
661
- /**
662
- * @deprecated Use {@link LobCreationLogging#disablingContextualLOBCreation} instead
663
- */
664
- @ LogMessage (level = DEBUG )
665
- @ Message (value = "Disabling contextual LOB creation as %s is true" , id = 421 )
666
- @ Deprecated
667
- void disablingContextualLOBCreation (String nonContextualLobCreation );
668
-
669
- /**
670
- * @deprecated Use {@link LobCreationLogging#disablingContextualLOBCreationSinceConnectionNull} instead
671
- */
672
- @ LogMessage (level = DEBUG )
673
- @ Message (value = "Disabling contextual LOB creation as connection was null" , id = 422 )
674
- @ Deprecated
675
- void disablingContextualLOBCreationSinceConnectionNull ();
676
-
677
- /**
678
- * @deprecated Use {@link LobCreationLogging#nonContextualLobCreationJdbcVersion} instead
679
- */
680
- @ LogMessage (level = DEBUG )
681
- @ Message (value = "Disabling contextual LOB creation as JDBC driver reported JDBC version [%s] less than 4" , id = 423 )
682
- @ Deprecated
683
- void disablingContextualLOBCreationSinceOldJdbcVersion (int jdbcMajorVersion );
684
-
685
- /**
686
- * @deprecated Use {@link LobCreationLogging#contextualClobCreationFailed} instead
687
- *
688
- * @see LobCreationLogging#contextualClobCreationFailed
689
- * @see LobCreationLogging#contextualNClobCreationFailed
690
- */
691
- @ LogMessage (level = DEBUG )
692
- @ Message (value = "Disabling contextual LOB creation as createClob() method threw error: %s" , id = 424 )
693
- @ Deprecated
694
- void disablingContextualLOBCreationSinceCreateClobFailed (Throwable t );
695
618
@ LogMessage (level = INFO )
696
619
@ Message (value = "update timestamps cache puts: %s" , id = 433 )
697
620
void timestampCachePuts (long updateTimestampsCachePutCount );
0 commit comments