public interface PersistentIdentifierGenerator extends IdentifierGenerator
IdentifierGenerator
,
Configurable
Modifier and Type | Field and Description |
---|---|
static String |
CATALOG
The configuration parameter holding the catalog name
|
static String |
IDENTIFIER_NORMALIZER
The key under whcih to find the
ObjectNameNormalizer in the config param map. |
static String |
PK
The configuration parameter holding the primary key column
name of the generated id
|
static String |
SCHEMA
The configuration parameter holding the schema name
|
static String |
TABLE
The configuration parameter holding the table name for the
generated id
|
static String |
TABLES
The configuration parameter holding the table names for all
tables for which the id must be unique
|
ENTITY_NAME, JPA_ENTITY_NAME
Modifier and Type | Method and Description |
---|---|
Object |
generatorKey()
Return a key unique to the underlying database objects.
|
String[] |
sqlCreateStrings(Dialect dialect)
The SQL required to create the underlying database objects.
|
String[] |
sqlDropStrings(Dialect dialect)
The SQL required to remove the underlying database objects.
|
generate
static final String SCHEMA
static final String TABLE
static final String TABLES
static final String PK
static final String CATALOG
static final String IDENTIFIER_NORMALIZER
ObjectNameNormalizer
in the config param map.String[] sqlCreateStrings(Dialect dialect) throws HibernateException
dialect
- The dialect against which to generate the create command(s)HibernateException
- problem creating the create command(s)String[] sqlDropStrings(Dialect dialect) throws HibernateException
dialect
- The dialect against which to generate the drop command(s)HibernateException
- problem creating the drop command(s)Object generatorKey()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.