HHH-14921 Remove unused method PersistentIdentifierGenerator#generatorKey
This commit is contained in:
parent
16524e2f67
commit
0c644fa16d
|
@ -387,7 +387,4 @@ public class MultipleHiLoPerTableGenerator implements PersistentIdentifierGenera
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object generatorKey() {
|
|
||||||
return tableName;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,12 +57,4 @@ public interface PersistentIdentifierGenerator extends OptimizableGenerator {
|
||||||
* The key under which to find the {@link org.hibernate.boot.model.naming.ObjectNameNormalizer} in the config param map.
|
* The key under which to find the {@link org.hibernate.boot.model.naming.ObjectNameNormalizer} in the config param map.
|
||||||
*/
|
*/
|
||||||
String IDENTIFIER_NORMALIZER = "identifier_normalizer";
|
String IDENTIFIER_NORMALIZER = "identifier_normalizer";
|
||||||
|
|
||||||
/**
|
|
||||||
* Return a key unique to the underlying database objects. Prevents us from
|
|
||||||
* trying to create/remove them multiple times.
|
|
||||||
*
|
|
||||||
* @return Object an identifying key for this generator
|
|
||||||
*/
|
|
||||||
Object generatorKey();
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,10 +76,6 @@ public class SequenceGenerator
|
||||||
return identifierType;
|
return identifierType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object generatorKey() {
|
|
||||||
return getSequenceName();
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getSequenceName() {
|
public String getSequenceName() {
|
||||||
return sequenceName;
|
return sequenceName;
|
||||||
}
|
}
|
||||||
|
|
|
@ -530,15 +530,6 @@ public class SequenceStyleGenerator
|
||||||
return optimizer.generate( databaseStructure.buildCallback( session ) );
|
return optimizer.generate( databaseStructure.buildCallback( session ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// PersistentIdentifierGenerator implementation ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Object generatorKey() {
|
|
||||||
return databaseStructure.getName();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// BulkInsertionCapableIdentifierGenerator implementation ~~~~~~~~~~~~~~~~~
|
// BulkInsertionCapableIdentifierGenerator implementation ~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -222,11 +222,6 @@ public class TableGenerator implements PersistentIdentifierGenerator {
|
||||||
|
|
||||||
private String contributor;
|
private String contributor;
|
||||||
|
|
||||||
@Override
|
|
||||||
public Object generatorKey() {
|
|
||||||
return qualifiedTableName.render();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Type mapping for the identifier.
|
* Type mapping for the identifier.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue