Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.cfg.annotations |
Modifier and Type | Method and Description |
---|---|
IdGenerator |
Mappings.getGenerator(String name)
Retrieve the id-generator by name.
|
IdGenerator |
Configuration.MappingsImpl.getGenerator(String name) |
IdGenerator |
Mappings.getGenerator(String name,
Map<String,IdGenerator> localGenerators)
Try to find the generator from the localGenerators
and then from the global generator list
|
IdGenerator |
Configuration.MappingsImpl.getGenerator(String name,
Map<String,IdGenerator> localGenerators) |
Modifier and Type | Method and Description |
---|---|
void |
Mappings.addDefaultGenerator(IdGenerator generator)
Adds a default id generator.
|
void |
Configuration.MappingsImpl.addDefaultGenerator(IdGenerator generator) |
void |
Mappings.addGenerator(IdGenerator generator)
Add a generator.
|
void |
Configuration.MappingsImpl.addGenerator(IdGenerator generator) |
Modifier and Type | Method and Description |
---|---|
IdGenerator |
Mappings.getGenerator(String name,
Map<String,IdGenerator> localGenerators)
Try to find the generator from the localGenerators
and then from the global generator list
|
IdGenerator |
Configuration.MappingsImpl.getGenerator(String name,
Map<String,IdGenerator> localGenerators) |
static void |
BinderHelper.makeIdGenerator(SimpleValue id,
String generatorType,
String generatorName,
Mappings mappings,
Map<String,IdGenerator> localGenerators)
apply an id generator to a SimpleValue
|
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,IdGenerator> |
CollectionBinder.localGenerators |
Modifier and Type | Method and Description |
---|---|
void |
CollectionBinder.setLocalGenerators(HashMap<String,IdGenerator> localGenerators) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.