Top Description Fields Methods
org.hibernate.id

public Interface PersistentIdentifierGenerator

extends OptimizableGenerator
Known Direct Implementers
org.hibernate.id.enhanced.SequenceStyleGenerator, org.hibernate.id.enhanced.TableGenerator
Imports
java.util.Properties, org.hibernate.service.ServiceRegistry, org.hibernate.type.Type

An IdentifierGenerator that requires creation of database objects.

All instances have access to a special mapping parameter in their configure(Type, Properties, ServiceRegistry) method: schema

Authors
Gavin King, Steve Ebersole
See Also
IdentifierGenerator

Field Summary

Modifier and TypeField and Description
public static final String
CATALOG

The configuration parameter holding the catalog name

public static final String
IDENTIFIER_NORMALIZER

The key under which to find the org.hibernate.boot.model.naming.ObjectNameNormalizer in the config param map.

public static final String
PK

The configuration parameter holding the primary key column name of the generated id

public static final String
SCHEMA

The configuration parameter holding the schema name

public static final String
TABLE

The configuration parameter holding the table name for the generated id

public static final String
TABLES

The configuration parameter holding the table names for all tables for which the id must be unique

Inherited from org.hibernate.id.OptimizableGenerator:
DEFAULT_INCREMENT_SIZEDEFAULT_INITIAL_VALUEIMPLICIT_NAME_BASEINCREMENT_PARAMINITIAL_PARAMOPT_PARAM

Method Summary

Inherited from org.hibernate.id.OptimizableGenerator:
getOptimizer

Field Detail

CATALOGback to summary
public static final String CATALOG

The configuration parameter holding the catalog name

IDENTIFIER_NORMALIZERback to summary
public static final String IDENTIFIER_NORMALIZER

The key under which to find the org.hibernate.boot.model.naming.ObjectNameNormalizer in the config param map.

PKback to summary
public static final String PK

The configuration parameter holding the primary key column name of the generated id

SCHEMAback to summary
public static final String SCHEMA

The configuration parameter holding the schema name

TABLEback to summary
public static final String TABLE

The configuration parameter holding the table name for the generated id

TABLESback to summary
public static final String TABLES

The configuration parameter holding the table names for all tables for which the id must be unique