| Package | Description |
|---|---|
| org.fastnate.generator.context | |
| org.fastnate.generator.statements |
| Modifier and Type | Class and Description |
|---|---|
class |
IdentityValue
Contains the current value for a primary key of type
GenerationType.IDENTITY. |
class |
SequenceIdGenerator
Stores the current value for a
SequenceGenerator. |
class |
TableIdGenerator
Saves the current value for a
TableGenerator. |
| Modifier and Type | Field and Description |
|---|---|
private IdGenerator |
GeneratedIdProperty.generator
The generator used for generating new values of this property.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<GeneratorContext.GeneratorId,IdGenerator> |
GeneratorContext.generators
Mapping from the name of a generator to the generator itself.
|
| Modifier and Type | Method and Description |
|---|---|
IdGenerator |
IdGenerator.derive(GeneratorTable entityTable)
Some implementations (like the Hibernate table generator) create a different generator, depending on the table
name.
|
IdGenerator |
TableIdGenerator.derive(GeneratorTable currentTable) |
private IdGenerator |
GeneratorContext.getDefaultSequenceGenerator() |
private IdGenerator |
GeneratorContext.getDefaultTableGenerator() |
IdGenerator |
GeneratedIdProperty.getGenerator()
The generator used for generating new values of this property.
|
IdGenerator |
GeneratorContext.getGenerator(javax.persistence.GeneratedValue generatedValue,
GeneratorTable table,
GeneratorColumn column)
Finds the correct generator for the given annotation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ContextModelListener.foundGenerator(IdGenerator generator)
Called when a new generator was discovered.
|
void |
DefaultContextModelListener.foundGenerator(IdGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectedStatementsWriter.ContextListener.foundGenerator(IdGenerator generator) |
Copyright © 2022 fastnate.org. All rights reserved.