Uses of Class
org.fastnate.generator.context.IdGenerator
Packages that use IdGenerator
-
Uses of IdGenerator in org.fastnate.generator.context
Subclasses of IdGenerator in org.fastnate.generator.contextModifier and TypeClassDescriptionclassContains the current value for a primary key of typeGenerationType.IDENTITY.classStores the current value for aSequenceGenerator.classSaves the current value for aTableGenerator.Fields in org.fastnate.generator.context declared as IdGeneratorModifier and TypeFieldDescriptionprivate final IdGeneratorGeneratedIdProperty.generatorThe generator used for generating new values of this property.Fields in org.fastnate.generator.context with type parameters of type IdGeneratorModifier and TypeFieldDescriptionprivate final Map<GeneratorContext.GeneratorId, IdGenerator> GeneratorContext.generatorsMapping from the name of a generator to the generator itself.Methods in org.fastnate.generator.context that return IdGeneratorModifier and TypeMethodDescriptionIdGenerator.derive(GeneratorTable entityTable) Some implementations (like the Hibernate table generator) create a different generator, depending on the table name.TableIdGenerator.derive(GeneratorTable currentTable) private IdGeneratorGeneratorContext.getDefaultSequenceGenerator(GeneratorTable table) private IdGeneratorGeneratorContext.getDefaultTableGenerator(GeneratorTable table) GeneratedIdProperty.getGenerator()The generator used for generating new values of this property.GeneratorContext.getGenerator(jakarta.persistence.GeneratedValue generatedValue, GeneratorTable table, GeneratorColumn column) Finds the correct generator for the given annotation.Methods in org.fastnate.generator.context with parameters of type IdGeneratorModifier and TypeMethodDescriptionvoidContextModelListener.foundGenerator(IdGenerator generator) Called when a new generator was discovered.voidDefaultContextModelListener.foundGenerator(IdGenerator generator) -
Uses of IdGenerator in org.fastnate.generator.statements
Methods in org.fastnate.generator.statements with parameters of type IdGeneratorModifier and TypeMethodDescriptionvoidConnectedStatementsWriter.ContextListener.foundGenerator(IdGenerator generator)