diff --git a/hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java b/hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java index 7b11024fb5..63a318f1cb 100644 --- a/hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java +++ b/hibernate-core/src/main/java/org/hibernate/id/SequenceGenerator.java @@ -61,6 +61,7 @@ public class SequenceGenerator * @deprecated No longer supported. To specify initial-value or increment use the * org.hibernate.id.enhanced.SequenceStyleGenerator generator instead. */ + @Deprecated public static final String PARAMETERS = "parameters"; private QualifiedName logicalQualifiedSequenceName; @@ -87,7 +88,7 @@ public class SequenceGenerator identifierType = type; - final ObjectNameNormalizer normalizer = ( ObjectNameNormalizer ) params.get( IDENTIFIER_NORMALIZER ); + final ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( IDENTIFIER_NORMALIZER ); logicalQualifiedSequenceName = QualifiedNameParser.INSTANCE.parse( ConfigurationHelper.getString( SEQUENCE, params, "hibernate_sequence" ), normalizer.normalizeIdentifierQuoting( params.getProperty( CATALOG ) ), @@ -151,7 +152,7 @@ public class SequenceGenerator @Override public String[] sqlDropStrings(Dialect dialect) throws HibernateException { - return dialect.getDropSequenceStrings(sequenceName); + return dialect.getDropSequenceStrings( sequenceName ); } @Override