Package | Description |
---|---|
org.fastnate.generator.context | |
org.fastnate.generator.dialect | |
org.fastnate.generator.provider | |
org.fastnate.generator.statements |
Modifier and Type | Field and Description |
---|---|
private GeneratorDialect |
GeneratorContext.dialect
Identifies the SQL dialect for generating SQL statements.
|
private GeneratorDialect |
PluralProperty.dialect
The current database dialect, as defined in the context.
|
private GeneratorDialect |
SequenceIdGenerator.dialect
The current database dialect.
|
private GeneratorDialect |
TableIdGenerator.dialect |
Modifier and Type | Method and Description |
---|---|
GeneratorDialect |
GeneratorContext.getDialect()
Identifies the SQL dialect for generating SQL statements.
|
GeneratorDialect |
PluralProperty.getDialect()
The current database dialect, as defined in the context.
|
protected GeneratorDialect |
PrimitiveProperty.getDialect()
Resolves the current dialect from the context.
|
GeneratorDialect |
SequenceIdGenerator.getDialect()
The current database dialect.
|
GeneratorDialect |
TableIdGenerator.getDialect() |
Modifier and Type | Method and Description |
---|---|
void |
GeneratorContext.setDialect(GeneratorDialect dialect)
Identifies the SQL dialect for generating SQL statements.
|
Constructor and Description |
---|
GeneratorContext(GeneratorDialect dialect)
Creates a generator context for a dialect.
|
SequenceIdGenerator(javax.persistence.SequenceGenerator generator,
GeneratorDialect dialect,
boolean relativeIds)
Creates a new instance of
SequenceIdGenerator . |
TableIdGenerator(GeneratorDialect dialect,
boolean relativeIds,
GeneratorTable generatorTable,
GeneratorColumn pkColumn,
ColumnExpression pkColumnValue,
GeneratorColumn valueColumn,
int allocationSize,
long initialValue,
long nextValue,
long maxAllocatedValue) |
Modifier and Type | Class and Description |
---|---|
class |
H2Dialect
Handles H2 specific conversions.
|
class |
MsSqlDialect
Handles MS SQL specific conversions.
|
class |
MySqlDialect
Handles MySQL specific conversions.
|
class |
OracleDialect
Handles Oracle specific conversions.
|
class |
PostgresDialect
Handles PostgreSQL specific conversions.
|
Modifier and Type | Method and Description |
---|---|
private static Class<? extends GeneratorDialect> |
HibernateProvider.getGeneratorDialectFromConnectionDriver(Properties settings) |
private static Class<? extends GeneratorDialect> |
HibernateProvider.getGeneratorDialectFromConnectionUrl(Properties settings) |
private static Class<? extends GeneratorDialect> |
HibernateProvider.getGeneratorDialectFromHibernateDialect(Properties settings) |
Modifier and Type | Field and Description |
---|---|
private GeneratorDialect |
AbstractStatementsWriter.AbstractTableStatement.dialect
The current database dialect
|
Modifier and Type | Method and Description |
---|---|
GeneratorDialect |
AbstractStatementsWriter.AbstractTableStatement.getDialect()
The current database dialect
|
Modifier and Type | Method and Description |
---|---|
static <N extends Number> |
PrimitiveColumnExpression.create(N value,
GeneratorDialect dialect)
Creates a new instance of
PrimitiveColumnExpression for a number. |
static PrimitiveColumnExpression<String> |
PrimitiveColumnExpression.create(String value,
GeneratorDialect dialect)
Creates a new instance of a
PrimitiveColumnExpression for a string. |
TableStatement |
AbstractStatementsWriter.createInsertStatement(GeneratorDialect dialect,
GeneratorTable table) |
TableStatement |
ConnectedStatementsWriter.createInsertStatement(GeneratorDialect dialect,
GeneratorTable table) |
TableStatement |
StatementsWriter.createInsertStatement(GeneratorDialect dialect,
GeneratorTable table)
Creates a container for a dedicated "insert into table" statement.
|
EntityStatement |
AbstractStatementsWriter.createPlainStatement(GeneratorDialect dialect,
String sql) |
EntityStatement |
StatementsWriter.createPlainStatement(GeneratorDialect dialect,
String sql)
Creates a container for a plain SQL statement, which is just executed "as is".
|
TableStatement |
AbstractStatementsWriter.createUpdateStatement(GeneratorDialect dialect,
GeneratorTable table,
GeneratorColumn idColumn,
ColumnExpression idValue) |
TableStatement |
StatementsWriter.createUpdateStatement(GeneratorDialect dialect,
GeneratorTable table,
GeneratorColumn idColumn,
ColumnExpression idValue)
Creates a container for a dedicated "update table" statement.
|
private Writer |
PostgreSqlBulkWriter.findBulkWriter(GeneratorTable generatorTable,
GeneratorDialect dialect) |
void |
ConnectedStatementsWriter.writePlainStatement(GeneratorDialect dialect,
String sql) |
void |
FileStatementsWriter.writePlainStatement(GeneratorDialect dialect,
String sql) |
void |
LiquibaseStatementsWriter.writePlainStatement(GeneratorDialect dialect,
String sql) |
void |
PostgreSqlBulkWriter.writePlainStatement(GeneratorDialect dialect,
String sql) |
default void |
StatementsWriter.writePlainStatement(GeneratorDialect dialect,
String sql)
Writes a plain SQL statement.
|
Constructor and Description |
---|
AbstractTableStatement(GeneratorDialect dialect,
GeneratorTable table) |
InsertStatement(GeneratorDialect dialect,
GeneratorTable table)
Creates a new instance of InsertStatement.
|
PreparedInsertStatement(GeneratorDialect dialect,
Connection connection,
GeneratorTable table) |
UpdateStatement(GeneratorDialect dialect,
GeneratorTable table,
GeneratorColumn idColumn,
ColumnExpression idValue)
Creates a new instance of UpdateStatement.
|
Copyright © 2022 fastnate.org. All rights reserved.