HHH-10013 - Adjust default for hibernate.id.new_generator_mappings to true - checkstyle
This commit is contained in:
parent
b3a8453064
commit
dd0547efdc
|
@ -61,6 +61,7 @@ public class SequenceGenerator
|
||||||
* @deprecated No longer supported. To specify initial-value or increment use the
|
* @deprecated No longer supported. To specify initial-value or increment use the
|
||||||
* org.hibernate.id.enhanced.SequenceStyleGenerator generator instead.
|
* org.hibernate.id.enhanced.SequenceStyleGenerator generator instead.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public static final String PARAMETERS = "parameters";
|
public static final String PARAMETERS = "parameters";
|
||||||
|
|
||||||
private QualifiedName logicalQualifiedSequenceName;
|
private QualifiedName logicalQualifiedSequenceName;
|
||||||
|
@ -87,7 +88,7 @@ public class SequenceGenerator
|
||||||
|
|
||||||
identifierType = type;
|
identifierType = type;
|
||||||
|
|
||||||
final ObjectNameNormalizer normalizer = ( ObjectNameNormalizer ) params.get( IDENTIFIER_NORMALIZER );
|
final ObjectNameNormalizer normalizer = (ObjectNameNormalizer) params.get( IDENTIFIER_NORMALIZER );
|
||||||
logicalQualifiedSequenceName = QualifiedNameParser.INSTANCE.parse(
|
logicalQualifiedSequenceName = QualifiedNameParser.INSTANCE.parse(
|
||||||
ConfigurationHelper.getString( SEQUENCE, params, "hibernate_sequence" ),
|
ConfigurationHelper.getString( SEQUENCE, params, "hibernate_sequence" ),
|
||||||
normalizer.normalizeIdentifierQuoting( params.getProperty( CATALOG ) ),
|
normalizer.normalizeIdentifierQuoting( params.getProperty( CATALOG ) ),
|
||||||
|
@ -151,7 +152,7 @@ public class SequenceGenerator
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] sqlDropStrings(Dialect dialect) throws HibernateException {
|
public String[] sqlDropStrings(Dialect dialect) throws HibernateException {
|
||||||
return dialect.getDropSequenceStrings(sequenceName);
|
return dialect.getDropSequenceStrings( sequenceName );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue