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 |
Configuration.MappingsImpl.getGenerator(String name) |
IdGenerator |
Mappings.getGenerator(String name)
Retrieve the id-generator by name.
|
IdGenerator |
Configuration.MappingsImpl.getGenerator(String name,
Map<String,IdGenerator> localGenerators) |
IdGenerator |
Mappings.getGenerator(String name,
Map<String,IdGenerator> localGenerators)
Try to find the generator from the localGenerators
and then from the global generator list
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.MappingsImpl.addDefaultGenerator(IdGenerator generator) |
void |
Mappings.addDefaultGenerator(IdGenerator generator)
Adds a default id generator.
|
void |
Configuration.MappingsImpl.addGenerator(IdGenerator generator) |
void |
Mappings.addGenerator(IdGenerator generator)
Add a generator.
|
Modifier and Type | Method and Description |
---|---|
IdGenerator |
Configuration.MappingsImpl.getGenerator(String name,
Map<String,IdGenerator> localGenerators) |
IdGenerator |
Mappings.getGenerator(String name,
Map<String,IdGenerator> localGenerators)
Try to find the generator from the localGenerators
and then from the global generator list
|
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 © 2001-2015 Red Hat, Inc. All Rights Reserved.