deprecate impls of decrecated interface NamingStrategy

This commit is contained in:
Gavin King 2022-11-04 18:30:31 +01:00
parent 7593d580b7
commit ba3d5b4dd7
4 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import org.hibernate.internal.util.StringHelper;
/** /**
* @author Emmanuel Bernard * @author Emmanuel Bernard
*/ */
@Deprecated
public class DefaultComponentSafeNamingStrategy extends PersistenceStandardNamingStrategy { public class DefaultComponentSafeNamingStrategy extends PersistenceStandardNamingStrategy {
public static final NamingStrategy INSTANCE = new DefaultComponentSafeNamingStrategy(); public static final NamingStrategy INSTANCE = new DefaultComponentSafeNamingStrategy();

View File

@ -17,6 +17,7 @@ import org.hibernate.internal.util.StringHelper;
* @see ImprovedNamingStrategy a better alternative * @see ImprovedNamingStrategy a better alternative
* @author Gavin King * @author Gavin King
*/ */
@Deprecated
public class DefaultNamingStrategy implements NamingStrategy, Serializable { public class DefaultNamingStrategy implements NamingStrategy, Serializable {
/** /**

View File

@ -19,6 +19,7 @@ import org.hibernate.internal.util.StringHelper;
* @see DefaultNamingStrategy the default strategy * @see DefaultNamingStrategy the default strategy
* @author Gavin King * @author Gavin King
*/ */
@Deprecated
public class ImprovedNamingStrategy implements NamingStrategy, Serializable { public class ImprovedNamingStrategy implements NamingStrategy, Serializable {
/** /**

View File

@ -15,6 +15,7 @@ import org.hibernate.internal.util.StringHelper;
* *
* @author Emmanuel Bernard * @author Emmanuel Bernard
*/ */
@Deprecated
public class PersistenceStandardNamingStrategy implements NamingStrategy, Serializable { public class PersistenceStandardNamingStrategy implements NamingStrategy, Serializable {
public static final NamingStrategy INSTANCE = new PersistenceStandardNamingStrategy(); public static final NamingStrategy INSTANCE = new PersistenceStandardNamingStrategy();