public class CalendarFormatTableGenerator extends TableGenerator
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
NUMBER_FORMAT_PARAM |
static java.lang.String |
PREFIX_PARAM |
static java.lang.String |
UPDATE_DATE_PARAM |
accessCount, CONFIG_PREFER_SEGMENT_PER_ENTITY, DEF_SEGMENT_COLUMN, DEF_SEGMENT_LENGTH, DEF_SEGMENT_VALUE, DEF_TABLE, DEF_VALUE_COLUMN, DEFAULT_INCREMENT_SIZE, DEFAULT_INITIAL_VALUE, identifierType, INCREMENT_PARAM, incrementSize, INITIAL_PARAM, initialValue, insertQuery, OPT_PARAM, optimizer, qualifiedTableName, renderedTableName, SEGMENT_COLUMN_PARAM, SEGMENT_LENGTH_PARAM, SEGMENT_VALUE_PARAM, segmentColumnName, segmentValue, segmentValueLength, selectQuery, storeLastUsedValue, TABLE_PARAM, updateQuery, VALUE_COLUMN_PARAM, valueColumnName| 构造器和说明 |
|---|
CalendarFormatTableGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.String |
buildInsertQuery() |
protected java.lang.String |
buildSelectQuery(org.hibernate.dialect.Dialect dialect) |
protected java.lang.String |
buildUpdateQuery() |
void |
configure(org.hibernate.type.Type type,
java.util.Properties params,
org.hibernate.service.ServiceRegistry serviceRegistry) |
java.io.Serializable |
generate(org.hibernate.engine.spi.SharedSessionContractImplementor session,
java.lang.Object obj) |
void |
registerExportables(org.hibernate.boot.model.relational.Database database) |
determineDefaultSegmentValue, determineGeneratorTableName, determineIncrementSize, determineInitialValue, determineSegmentColumnName, determineSegmentColumnSize, determineSegmentValue, determineValueColumnName, generateInsertInitCommand, generatorKey, getIdentifierType, getIncrementSize, getInitialValue, getOptimizer, getSegmentColumnName, getSegmentValue, getSegmentValueLength, getTableAccessCount, getTableName, getValueColumnName, sqlCreateStrings, sqlDropStringspublic static final java.lang.String UPDATE_DATE_PARAM
public static final java.lang.String NUMBER_FORMAT_PARAM
public static final java.lang.String PREFIX_PARAM
public void configure(org.hibernate.type.Type type,
java.util.Properties params,
org.hibernate.service.ServiceRegistry serviceRegistry)
throws org.hibernate.MappingException
configure 在接口中 org.hibernate.id.Configurableconfigure 在类中 TableGeneratororg.hibernate.MappingExceptionpublic java.io.Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor session,
java.lang.Object obj)
generate 在接口中 org.hibernate.id.IdentifierGeneratorgenerate 在类中 TableGeneratorpublic void registerExportables(org.hibernate.boot.model.relational.Database database)
registerExportables 在接口中 org.hibernate.boot.model.relational.ExportableProducerregisterExportables 在类中 TableGeneratorprotected java.lang.String buildSelectQuery(org.hibernate.dialect.Dialect dialect)
buildSelectQuery 在类中 TableGeneratorprotected java.lang.String buildUpdateQuery()
buildUpdateQuery 在类中 TableGeneratorprotected java.lang.String buildInsertQuery()
buildInsertQuery 在类中 TableGenerator