Package | Description |
---|---|
net.java.ao | |
net.java.ao.builder | |
net.java.ao.db | |
net.java.ao.schema | |
net.java.ao.schema.ddl | |
net.java.ao.schema.helper | |
net.java.ao.schema.index | |
net.java.ao.schema.info |
Modifier and Type | Method and Description |
---|---|
NameConverters |
EntityManagerConfiguration.getNameConverters()
Gets the name converters to be used with the (to be) configured
EntityManager . |
NameConverters |
EntityManager.getNameConverters() |
Modifier and Type | Method and Description |
---|---|
protected SQLAction |
DatabaseProvider._renderDropFunctionForField(NameConverters nameConverters,
DDLTable table,
DDLField field)
Renders SQL statement(s) to drop the function which corresponds to the
specified field, if applicable, or
null otherwise. |
protected SQLAction |
DatabaseProvider._renderDropSequenceForField(NameConverters nameConverters,
DDLTable table,
DDLField field)
Renders SQL statement(s) to drop the sequence which corresponds to the
specified field, or
null if none. |
protected SQLAction |
DatabaseProvider._renderDropTriggerForField(NameConverters nameConverters,
DDLTable table,
DDLField field)
Renders SQL statement(s) to drop the trigger which corresponds to the
specified field, or
null if none. |
protected SQLAction |
DatabaseProvider._renderFunctionForField(NameConverters nameConverters,
DDLTable table,
DDLField field)
Renders the function which corresponds to the specified field, or
null if none. |
protected SQLAction |
DatabaseProvider._renderSequenceForField(NameConverters nameConverters,
DDLTable table,
DDLField field)
Renders the SQL for creating a sequence for the specified field, or
null if none. |
protected SQLAction |
DatabaseProvider._renderTriggerForField(NameConverters nameConverters,
DDLTable table,
DDLField field)
Renders the trigger which corresponds to the specified field, or
null if none. |
protected Iterable<SQLAction> |
DatabaseProvider.renderAccessories(NameConverters nameConverters,
DDLTable table)
Generates the database-specific DDL statements required to create
all of the functions, sequences, and triggers necessary for the given table,
by calling
DatabaseProvider.renderAccessoriesForField(NameConverters, DDLTable, DDLField)
for each of the table's fields. |
protected Iterable<SQLAction> |
DatabaseProvider.renderAccessoriesForField(NameConverters nameConverters,
DDLTable table,
DDLField field)
Generates database-specific DDL statements required to create any functions,
sequences, or triggers required for the given field.
|
Iterable<SQLAction> |
DatabaseProvider.renderAction(NameConverters nameConverters,
DDLAction action)
Top level delegating method for the process of rendering a database-agnostic
DDLAction into the database-specific SQL actions. |
protected Iterable<SQLAction> |
DatabaseProvider.renderAlterTableAddColumn(NameConverters nameConverters,
DDLTable table,
DDLField field)
Generates the database-specific DDL statements required to add
a column to an existing table.
|
protected SQLAction |
DatabaseProvider.renderAlterTableAddColumnStatement(NameConverters nameConverters,
DDLTable table,
DDLField field)
Generates the database-specific DDL statement for adding a column,
but not including any corresponding sequences, triggers, etc.
|
protected Iterable<SQLAction> |
DatabaseProvider.renderAlterTableChangeColumn(NameConverters nameConverters,
DDLTable table,
DDLField oldField,
DDLField field)
Generates the database-specific DDL statements required to change
the given column from its old specification to the given DDL value.
|
protected SQLAction |
DatabaseProvider.renderAlterTableChangeColumnStatement(NameConverters nameConverters,
DDLTable table,
DDLField oldField,
DDLField field,
DatabaseProvider.RenderFieldOptions options)
Generates the database-specific DDL statement only for altering a table and
changing a column.
|
protected Iterable<SQLAction> |
DatabaseProvider.renderAlterTableDropColumn(NameConverters nameConverters,
DDLTable table,
DDLField field)
Generates the database-specific DDL statements required to remove
the specified column from the given table.
|
protected Iterable<SQLAction> |
DatabaseProvider.renderDropAccessories(NameConverters nameConverters,
DDLTable table)
Generates the database-specific DDL statements required to drop
all of the functions, sequences, and triggers associated with the given table,
by calling
DatabaseProvider.renderDropAccessoriesForField(NameConverters, DDLTable, DDLField)
for each of the table's fields. |
protected Iterable<SQLAction> |
DatabaseProvider.renderDropAccessoriesForField(NameConverters nameConverters,
DDLTable table,
DDLField field)
Generates database-specific DDL statements required to drop any functions,
sequences, or triggers associated with the given field.
|
protected Iterable<SQLAction> |
DatabaseProvider.renderDropColumnActions(NameConverters nameConverters,
DDLTable table,
DDLField field) |
protected String |
DatabaseProvider.renderField(NameConverters nameConverters,
DDLTable table,
DDLField field,
DatabaseProvider.RenderFieldOptions options)
Generates the database-specific DDL fragment required to render the
field and its associated type.
|
protected SQLAction |
DatabaseProvider.renderTable(NameConverters nameConverters,
DDLTable table)
Renders the specified table representation into the corresponding
database-specific DDL statement.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleNameConverters |
Modifier and Type | Class and Description |
---|---|
class |
CachingNameConverters |
Modifier and Type | Method and Description |
---|---|
static void |
SchemaGenerator.migrate(DatabaseProvider provider,
SchemaConfiguration schemaConfiguration,
NameConverters nameConverters,
boolean executeDestructiveUpdates,
Class<? extends RawEntity<?>>... classes) |
static DDLTable |
SchemaGenerator.parseInterface(DatabaseProvider provider,
NameConverters nameConverters,
Class<? extends RawEntity<?>> clazz)
Not intended for public use.
|
Constructor and Description |
---|
CachingNameConverters(NameConverters nameConverters) |
Modifier and Type | Method and Description |
---|---|
static DDLTable[] |
SchemaReader.readSchema(Connection connection,
DatabaseProvider provider,
NameConverters nameConverters,
SchemaConfiguration schemaConfiguration,
boolean includeForeignKeys) |
static DDLTable[] |
SchemaReader.readSchema(DatabaseProvider provider,
NameConverters nameConverters,
SchemaConfiguration schemaConfiguration)
Currently doesn't account for:
setUnique
|
static DDLTable[] |
SchemaReader.readSchema(DatabaseProvider provider,
NameConverters nameConverters,
SchemaConfiguration schemaConfiguration,
boolean includeForeignKeys) |
Constructor and Description |
---|
DatabaseMetaDataReaderImpl(DatabaseProvider databaseProvider,
NameConverters nameConverters,
SchemaConfiguration schemaConfiguration) |
Constructor and Description |
---|
IndexParser(DatabaseProvider databaseProvider,
NameConverters nameConverters,
TypeManager typeManager) |
Modifier and Type | Method and Description |
---|---|
EntityInfoResolver |
SimpleEntityInfoResolverFactory.create(NameConverters nameConverters,
TypeManager typeManager) |
EntityInfoResolver |
EntityInfoResolverFactory.create(NameConverters nameConverters,
TypeManager typeManager) |
EntityInfoResolver |
CachingEntityInfoResolverFactory.create(NameConverters nameConverters,
TypeManager typeManager) |
Constructor and Description |
---|
SimpleEntityInfoResolver(NameConverters nameConverters,
TypeManager typeManager) |
Copyright © 2007–2019 Atlassian. All rights reserved.