Uses of Class
org.fastnate.generator.dialect.GeneratorDialect
Packages that use GeneratorDialect
Package
Description
-
Uses of GeneratorDialect in org.fastnate.generator.context
Methods in org.fastnate.generator.context that return GeneratorDialectModifier and TypeMethodDescriptionGeneratorContext.getDialect()Identifies the SQL dialect for generating SQL statements.PluralProperty.getDialect()The current database dialect, as defined in the context.protected GeneratorDialectPrimitiveProperty.getDialect()Resolves the current dialect from the context.SequenceIdGenerator.getDialect()The current database dialect.Methods in org.fastnate.generator.context with parameters of type GeneratorDialectModifier and TypeMethodDescriptionvoidGeneratorContext.setDialect(GeneratorDialect dialect) Identifies the SQL dialect for generating SQL statements.Constructors in org.fastnate.generator.context with parameters of type GeneratorDialectModifierConstructorDescriptionGeneratorContext(GeneratorDialect dialect) Creates a generator context for a dialect. -
Uses of GeneratorDialect in org.fastnate.generator.dialect
Subclasses of GeneratorDialect in org.fastnate.generator.dialectModifier and TypeClassDescriptionclassHandles H2 specific conversions.classHandles MS SQL specific conversions.classHandles MySQL specific conversions.classHandles Oracle specific conversions.classHandles PostgreSQL specific conversions. -
Uses of GeneratorDialect in org.fastnate.generator.provider
Methods in org.fastnate.generator.provider with parameters of type GeneratorDialectModifier and TypeMethodDescriptionjakarta.persistence.GenerationTypeJpaProvider.getAutoGenerationType(GeneratorDialect dialect) Resolves the generation type to use, ifGenerationType.AUTOis specified in the model. -
Uses of GeneratorDialect in org.fastnate.generator.statements
Methods in org.fastnate.generator.statements that return GeneratorDialectModifier and TypeMethodDescriptionAbstractStatementsWriter.AbstractTableStatement.getDialect()The current database dialectLiquibaseStatementsWriter.getDialect()The current database dialect (in case any plain SQL statement needs to be written).Methods in org.fastnate.generator.statements with parameters of type GeneratorDialectModifier and TypeMethodDescriptionstatic final PrimitiveColumnExpression<String> PrimitiveColumnExpression.create(String value, GeneratorDialect dialect) Creates a new instance of aPrimitiveColumnExpressionfor a string.static final <N extends Number>
PrimitiveColumnExpression<N> PrimitiveColumnExpression.create(N value, GeneratorDialect dialect) Creates a new instance ofPrimitiveColumnExpressionfor a number.AbstractStatementsWriter.createInsertStatement(GeneratorDialect dialect, GeneratorTable table) ConnectedStatementsWriter.createInsertStatement(GeneratorDialect dialect, GeneratorTable table) StatementsWriter.createInsertStatement(GeneratorDialect dialect, GeneratorTable table) Creates a container for a dedicated "insert into table" statement.AbstractStatementsWriter.createPlainStatement(GeneratorDialect dialect, String sql) StatementsWriter.createPlainStatement(GeneratorDialect dialect, String sql) Creates a container for a plain SQL statement, which is just executed "as is".AbstractStatementsWriter.createUpdateStatement(GeneratorDialect dialect, GeneratorTable table, GeneratorColumn idColumn, ColumnExpression idValue) StatementsWriter.createUpdateStatement(GeneratorDialect dialect, GeneratorTable table, GeneratorColumn idColumn, ColumnExpression idValue) Creates a container for a dedicated "update table" statement.voidConnectedStatementsWriter.writePlainStatement(GeneratorDialect dialect, String sql) voidFileStatementsWriter.writePlainStatement(GeneratorDialect dialect, String sql) voidLiquibaseStatementsWriter.writePlainStatement(GeneratorDialect currentDialect, String sql) voidPostgreSqlBulkWriter.writePlainStatement(GeneratorDialect dialect, String sql) default voidStatementsWriter.writePlainStatement(GeneratorDialect dialect, String sql) Writes a plain SQL statement.Constructors in org.fastnate.generator.statements with parameters of type GeneratorDialectModifierConstructorDescriptionAbstractTableStatement(GeneratorDialect dialect, GeneratorTable table) Creates a newAbstractTableStatementinstance.InsertStatement(GeneratorDialect dialect, GeneratorTable table) Creates a new instance of InsertStatement.LiquibaseStatementsWriter(GeneratorDialect dialect, OutputStream outputStream, String version) Creates a new writer which generates an XML file with "UTF-8" encoding.LiquibaseStatementsWriter(GeneratorDialect dialect, XMLStreamWriter writer, String version) Creates a new writer.protectedUpdateStatement(GeneratorDialect dialect, GeneratorTable table, GeneratorColumn idColumn, ColumnExpression idValue) Creates a new instance of UpdateStatement.