Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractSqlMojo - Class in org.tentackle.maven.plugin.sql
-
Base class of the SQL mojos working on the model.
Provides the shared configuration: model selection, backend selection, name checks, and the diagnostic dumps.
The defaultAbstractSqlMojo.executeImpl()processes the model files once per backend returned byAbstractSqlMojo.getBackendInfosToExecute()and dumps the model and bundles afterward, if configured. - AbstractSqlMojo() - Constructor for class org.tentackle.maven.plugin.sql.AbstractSqlMojo
B
- BackendInfoParameter - Class in org.tentackle.maven.plugin.sql
-
Maven parameter to create a
BackendInfo. - BackendInfoParameter() - Constructor for class org.tentackle.maven.plugin.sql.BackendInfoParameter
- backendInfos - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
The backends to create SQL code for.
- backendNames - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Comma-separated list of backend names.
The following special names are recognized: all: all non-deprecated backends none: does not match any backend deprecated: all deprecated backends - backendProperties - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
The backend property files.
- backends - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Backend configuration via the pom.
Combined withAbstractSqlMojo.backendNamesandAbstractSqlMojo.backendProperties. - bundleDir - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Optional directory where to create bundle property files.
Contains all attribute- and relation names with their comments.
Useful to copy and paste into the project for auto table config or default editors.
C
- checkAndLogReservedTable(Entity) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Checks and logs whether the table name is already used by Tentackle.
- checkFallbackTableAliases() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Checks for numbered fallback table aliases.
Logs a warning listing the entities whose table alias was generated as a numbered fallback, since such aliases may change when the model changes. - checkFallbackTableAliases() - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- checkReservedTables - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Check for reserved table names.
InvokesMetaDataUtilities.isReservedTable(String). - closeResources(BackendInfo) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Closes the resources.
- closeResources(BackendInfo) - Method in class org.tentackle.maven.plugin.sql.CreateSqlMojo
- closeResources(BackendInfo) - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- ColumnType(String, boolean) - Constructor for record class org.tentackle.maven.plugin.sql.reveng.ColumnTypeMapper.ColumnType
-
Creates an instance of a
ColumnTyperecord class. - ColumnTypeMapper - Class in org.tentackle.maven.plugin.sql.reveng
-
Maps a database column's JDBC type to a Tentackle model attribute type declaration.
- ColumnTypeMapper.ColumnType - Record Class in org.tentackle.maven.plugin.sql.reveng
-
The result of mapping a column to a model attribute type.
- comment - Variable in class org.tentackle.maven.plugin.sql.SequenceParameter
-
the optional comment.
- connectableBackendInfos - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Connectable backends to create SQL code for.
- copyFileSets(List) - Method in class org.tentackle.maven.plugin.sql.CreateSqlMojo
-
Copies the contents of the given filesets to the generated sql file.
- createBackendInfo(AbstractTentackleMojo) - Method in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
Creates a backend info from this parameter.
- createSequences(Backend) - Method in class org.tentackle.maven.plugin.sql.CreateSqlMojo
-
Creates the SQL code for sequences.
- createSqlFile(BackendInfo) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Creates the sqlFile, sqlDirName, and sqlWriter.
- createSqlFile(BackendInfo) - Method in class org.tentackle.maven.plugin.sql.CreateSqlMojo
- CreateSqlMojo - Class in org.tentackle.maven.plugin.sql
-
Generates an SQL script to create the database tables according to the model.
The script contains, in this order: theCreateSqlMojo.prependFilesets, the classpath model ifCreateSqlMojo.prependModelFromClassPath, the schemas, tables and indexes per entity, the foreign keys, the classpath model ifCreateSqlMojo.appendModelFromClassPath, theCreateSqlMojo.sequences, and finally theCreateSqlMojo.appendFilesets. - CreateSqlMojo() - Constructor for class org.tentackle.maven.plugin.sql.CreateSqlMojo
D
- DatabaseVersionLoader - Interface in org.tentackle.maven.plugin.sql
-
Determines the database version in an application-specific way.
The implementing class must provide a no-args constructor. - DocumentSqlMojo - Class in org.tentackle.maven.plugin.sql
-
Renders the model as a set of cross-linked HTML or Markdown pages, one per entity, plus an index page.
Unlike theModelCommentwurblet's Javadoc comment block, entity names mentioned on a page are hyperlinks to that entity's own page, so the whole model can be browsed by following references, composite trees, and inheritance in a browser or Markdown viewer. - DocumentSqlMojo() - Constructor for class org.tentackle.maven.plugin.sql.DocumentSqlMojo
- dumpAnnotationsAsOptions - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
List of annotations that should be printed as attribute options.
A comma separates multiple annotations.
If the annotation ends with a|, it matches only annotations without parameters.
The special annotation@*matches all annotations and@*|matches all annotations without parameters. - dumpAsComment - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Model dump should be dumped as comment blocks (default).
- dumpBundles() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Dumps attribute and relation bundles.
- dumpBundles() - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- dumpColumnGap - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Minimum number of spaces between columns in the attribute section (default = 2).
- dumpCompact - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Compact model dump.
Omits implicit configuration in dumped model code.
By default, all configuration keywords are printed for proofreading.
In compact mode, however, only the keywords that are actually required are printed, making it more suitable as input for source code generation. - dumpDir - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Optional directory where to dump the model.
Useful for debugging to verify that the model was interpreted correctly or to pretty-print the model source. - dumpModel() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Dumps the model.
- dumpModel() - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- dumpModelIndex - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Creates an additional file containing the names of the dumped files.
Usually combined withAbstractSqlMojo.dumpModelSourceto createMETA-INF/MODEL-INDEX.LISTin order to load the model from a jar file. - dumpModelSource - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Dumps the original model source instead of the parsed entity.
- dumpVariables - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Model dump should include variables (default).
E
- enableValidation() - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
-
Enables the metadata validation.
- entityAliases - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
The entity aliases.
- equals(Object) - Method in record class org.tentackle.maven.plugin.sql.reveng.ColumnTypeMapper.ColumnType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.tentackle.maven.plugin.sql.reveng.RevengModelWriter.Result
-
Indicates whether some other object is "equal to" this one.
- execute() - Method in class org.tentackle.tentackle_sql_maven_plugin.HelpMojo
- executeImpl() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
- executeImpl() - Method in class org.tentackle.maven.plugin.sql.DocumentSqlMojo
- executeImpl() - Method in class org.tentackle.maven.plugin.sql.RevengMojo
- executeImpl() - Method in class org.tentackle.maven.plugin.sql.RunSqlMojo
F
- filesets - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Explicit filesets given instead of the model directory.
G
- generate(String) - Method in class org.tentackle.maven.plugin.sql.MigrateGenerator
-
Generates the SQL file and deletes the template file.
- generateHeaderComment - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Create a header comment.
- getAfterAll() - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the sql code to be executed after anything else.
- getAfterTable(String) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the sql code to be executed after table migration.
- getAlwaysAfter() - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the sql code to be executed after anything else, unconditionally.
- getAlwaysBefore() - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the sql code to be executed before anything else, unconditionally.
- getBackendInfosToExecute() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Gets the backend infos to execute.
- getBackendInfosToExecute() - Method in class org.tentackle.maven.plugin.sql.CreateSqlMojo
- getBackendInfosToExecute() - Method in class org.tentackle.maven.plugin.sql.DocumentSqlMojo
- getBackendInfosToExecute() - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- getBackendInfosToExecute() - Method in class org.tentackle.maven.plugin.sql.RunSqlMojo
- getBeforeAll() - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the sql code to be executed before anything else.
- getBeforeTable(String) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the sql code to be executed before table migration.
- getColumnMigrations(String) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the explicit column migrations for a table.
- getDatabaseVersion(AbstractSqlMojo, BackendInfo) - Method in interface org.tentackle.maven.plugin.sql.DatabaseVersionLoader
-
Determines the database version.
- getDependencies(String) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the dependencies.
- getDropTables() - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the drop table hints.
- getEntityAliases() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Gets the entity aliases.
- getExecutionLock() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
- getHintFileNames() - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the names of the analyzed hintfiles.
The directory name is included as well. - getHints(String) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the migration hints.
- getInstance() - Static method in interface org.tentackle.maven.plugin.sql.VersionFileFilter
-
The singleton.
- getMigrateTable(String) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the sql code to be executed instead of table migration.
- getModel() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Gets the entity model.
- getModelDefaults() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Gets the model defaults.
- getModelLocation(String) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Returns the model source location to be used in the intro comment.
- getModelLocation(String) - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- getName() - Method in class org.tentackle.maven.plugin.sql.SemanticVersionFileFilter
- getName() - Method in interface org.tentackle.maven.plugin.sql.VersionFileFilter
-
Gets the name of the filter.
- getRenameColumns(String) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the rename column hints.
- getRenameTable(String) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Gets the "rename" table hint.
- getSqlFileName() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Gets the created sql file name without the leading path.
- getSqlFileName() - Method in class org.tentackle.maven.plugin.sql.CreateSqlMojo
- getSqlFileName() - Method in class org.tentackle.maven.plugin.sql.DocumentSqlMojo
- getSqlFileName() - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- getSqlFileName() - Method in class org.tentackle.maven.plugin.sql.RunSqlMojo
H
- hashCode() - Method in record class org.tentackle.maven.plugin.sql.reveng.ColumnTypeMapper.ColumnType
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.tentackle.maven.plugin.sql.reveng.RevengModelWriter.Result
-
Returns a hash code value for this object.
- HelpMojo - Class in org.tentackle.tentackle_sql_maven_plugin
-
Display help information on tentackle-sql-maven-plugin.
Callmvn tentackle-sql:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class org.tentackle.tentackle_sql_maven_plugin.HelpMojo
I
- increment - Variable in class org.tentackle.maven.plugin.sql.SequenceParameter
-
the optional increment, defaults to 1.
- isAlienTable(String) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Returns whether the given table name matches one of the
AbstractSqlMojo.alienTables.
Alien tables don't belong to the model and must not be used by it. - isHintApplying(String, String) - Method in class org.tentackle.maven.plugin.sql.SemanticVersionFileFilter
-
Checks whether hint applies.
- isSqlDirRequired() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Returns whether this mojo writes SQL scripts and therefore requires the
AbstractSqlMojo.sqlDir. - isSqlDirRequired() - Method in class org.tentackle.maven.plugin.sql.DocumentSqlMojo
- isValid(String, File) - Method in class org.tentackle.maven.plugin.sql.SemanticVersionFileFilter
- isValid(String, File) - Method in interface org.tentackle.maven.plugin.sql.VersionFileFilter
-
Checks whether the given migration hint file applies to the given database version.
Usually, a hint file applies if its version is greater than the database version.
L
- load(AbstractSqlMojo, boolean, List, String, List) - Method in class org.tentackle.maven.plugin.sql.MigrationHints
-
Loads the migration hints.
Only hint files accepted by theVersionFileFilterare loaded. - loadMigrationHints(BackendInfo, AbstractSqlMojo, boolean, List) - Method in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
Loads the migration hints.
Resolves theBackendInfoParameter.minVersionfirst, if given. - loadModelFromClassPath - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Uses the model found in the resources of the classpath.
Useful to migrate the database tables for dependencies, for example, the Tentackle framework's model.
Requires that the plugin dependencies contain the model resources (seeAbstractSqlMojo.dumpModelIndexandAbstractSqlMojo.dumpModelSource).
M
- map(Backend, ColumnMetaData) - Static method in class org.tentackle.maven.plugin.sql.reveng.ColumnTypeMapper
-
Maps a column to a model attribute type.
- mapSchemas - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Map schema names to flat table names.
- MigrateGenerator - Class in org.tentackle.maven.plugin.sql
-
Renders a migration file generated as a FreeMarker template into the final SQL file.
- MigrateGenerator(MigrateSqlMojo, File, BackendInfo, Map) - Constructor for class org.tentackle.maven.plugin.sql.MigrateGenerator
-
Creates the generator.
- MigrateSqlMojo - Class in org.tentackle.maven.plugin.sql
-
Generates an SQL script to migrate the database tables according to the model.
Connects to each connectable backend, compares its metadata table by table against the model, and writes the SQL required to bring the database in line, optionally guided byMigrationHints. - MigrateSqlMojo() - Constructor for class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- MigrateTemplateModel - Class in org.tentackle.maven.plugin.sql
-
Holds the template model for the migration sql generator.
- MigrateTemplateModel(MigrateSqlMojo, BackendInfo, Map) - Constructor for class org.tentackle.maven.plugin.sql.MigrateTemplateModel
-
Creates the model.
- migrationHints - Variable in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
optional migration hints.
- MigrationHints - Class in org.tentackle.maven.plugin.sql
-
Migration hints.
- MigrationHints() - Constructor for class org.tentackle.maven.plugin.sql.MigrationHints
-
Creates the migration hints for a backend.
- minVersion - Variable in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
Optional minimum version number.
This is usually the version of the database model. - modelDefaults - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
The model defaults.
- modelDir - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Directory holding the model files to be processed.
Ignored if fileset explicitly given. - modelName - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
The model name.
- modelSource() - Method in record class org.tentackle.maven.plugin.sql.reveng.RevengModelWriter.Result
-
Returns the value of the
modelSourcerecord component.
N
- name - Variable in class org.tentackle.maven.plugin.sql.SequenceParameter
-
the sequence name.
- nullabilityRepresentable() - Method in record class org.tentackle.maven.plugin.sql.reveng.ColumnTypeMapper.ColumnType
-
Returns the value of the
nullabilityRepresentablerecord component.
O
- openResources(BackendInfo) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Opens the resources such as session and creates the SQL file.
- openResources(BackendInfo) - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- org.tentackle.maven.plugin.sql - package org.tentackle.maven.plugin.sql
-
Tentackle SQL maven plugin.
Turns the Tentackle model into backend-specific DDL (create), migration scripts (migrate,validate) and cross-linked documentation (document), runs SQL scripts (run), and reverse-engineers existing tables into model source (reveng). - org.tentackle.maven.plugin.sql.reveng - package org.tentackle.maven.plugin.sql.reveng
- org.tentackle.tentackle_sql_maven_plugin - package org.tentackle.tentackle_sql_maven_plugin
P
- password - Variable in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
the password.
- processBackend(BackendInfoParameter, BackendInfo) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Processes the backend.
Provided to be overridden inMigrateSqlMojo. - processBackend(BackendInfoParameter, BackendInfo) - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- processFileSet(BackendInfo, FileSet) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Process all files in a fileset.
- processFileSet(BackendInfo, FileSet) - Method in class org.tentackle.maven.plugin.sql.CreateSqlMojo
- processFileSet(BackendInfo, FileSet) - Method in class org.tentackle.maven.plugin.sql.DocumentSqlMojo
- processFileSet(BackendInfo, FileSet) - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- processFileSet(BackendInfo, FileSet) - Method in class org.tentackle.maven.plugin.sql.RunSqlMojo
R
- Result(String, List) - Constructor for record class org.tentackle.maven.plugin.sql.reveng.RevengModelWriter.Result
-
Creates an instance of a
Resultrecord class. - RevengModelWriter - Class in org.tentackle.maven.plugin.sql.reveng
-
Renders the database metadata of a single table, gathered via
org.tentackle.sql.metadata, as Tentackle model source text — the same plain-text DSL format read bytentackle-wizard:pdo's-DbatchDirbatch mode. - RevengModelWriter.Result - Record Class in org.tentackle.maven.plugin.sql.reveng
-
The result of writing one table.
- RevengMojo - Class in org.tentackle.maven.plugin.sql
-
Reverse-engineers tables of an existing database into Tentackle model source files.
- RevengMojo() - Constructor for class org.tentackle.maven.plugin.sql.RevengMojo
- RunSqlMojo - Class in org.tentackle.maven.plugin.sql
-
Runs an SQL script against every configured connectable backend.
The statements are executed in autocommit mode, i.e. without a transaction. - RunSqlMojo() - Constructor for class org.tentackle.maven.plugin.sql.RunSqlMojo
S
- schemaNames - Variable in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
alternate way to set schemas as a comma-separated string.
- schemas - Variable in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
allowed schemas.
- SemanticVersionFileFilter - Class in org.tentackle.maven.plugin.sql
-
Default semantic version filter.
Interprets the name of the directory holding a hint file as amajor.minor.hotfixversion (dots or underscores, with an optional suffix like-SNAPSHOTthat is ignored). - SemanticVersionFileFilter() - Constructor for class org.tentackle.maven.plugin.sql.SemanticVersionFileFilter
- SequenceParameter - Class in org.tentackle.maven.plugin.sql
-
Parameter to create a sequence.
- SequenceParameter() - Constructor for class org.tentackle.maven.plugin.sql.SequenceParameter
- serverId - Variable in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
server ID from settings.xml.
- sqlDir - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Directory holding the generated SQL scripts, one sub-directory per backend.
- sqlDirName - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
The canonical path of the SQL file's directory.
- sqlFile - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
The created SQL file.
- sqlWriter - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Writer to the SQL file.
- start - Variable in class org.tentackle.maven.plugin.sql.SequenceParameter
-
the optional start value, defaults to 1.
T
- TableNaming - Class in org.tentackle.maven.plugin.sql.reveng
-
Converts database table- and column names (snake_case, any case) to the Java names used by the Tentackle model DSL (PascalCase entity names, camelCase attribute names).
- toEntityName(String) - Static method in class org.tentackle.maven.plugin.sql.reveng.TableNaming
-
Converts a table name to a PascalCase entity name.
For exampleorder_itemorORDER_ITEMbecomesOrderItem. - toJavaName(String) - Static method in class org.tentackle.maven.plugin.sql.reveng.TableNaming
-
Converts a column name to a camelCase Java attribute name.
For examplecustomer_idbecomescustomerId. - toRelationBaseName(String) - Static method in class org.tentackle.maven.plugin.sql.reveng.TableNaming
-
Strips a trailing
_id(any case) from a column name and converts the remainder to a PascalCase name.
Used to derive a relation's default name from the foreign key column, e.g. - toString() - Method in record class org.tentackle.maven.plugin.sql.reveng.ColumnTypeMapper.ColumnType
-
Returns a string representation of this record class.
- toString() - Method in record class org.tentackle.maven.plugin.sql.reveng.RevengModelWriter.Result
-
Returns a string representation of this record class.
- totalErrors - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Total number of errors.
- typeDeclaration() - Method in record class org.tentackle.maven.plugin.sql.reveng.ColumnTypeMapper.ColumnType
-
Returns the value of the
typeDeclarationrecord component.
U
- url - Variable in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
the backend url.
- useDropIfExists - Variable in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Use IF EXISTS for drop index, constraint, and column if the backend supports it.
If not supported, a warning will be logged.
Applies to themigrateandvalidategoals only. - user - Variable in class org.tentackle.maven.plugin.sql.BackendInfoParameter
-
the username.
V
- validate() - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
- validate() - Method in class org.tentackle.maven.plugin.sql.DocumentSqlMojo
- validate() - Method in class org.tentackle.maven.plugin.sql.MigrateSqlMojo
- validate() - Method in class org.tentackle.maven.plugin.sql.ValidateSqlMojo
- ValidateSqlMojo - Class in org.tentackle.maven.plugin.sql
-
Validates the database against the model.
Same as themigrategoal, but the build fails if anything needs to be migrated.
Alternative to thevalidateconfiguration option of themigrategoal. - ValidateSqlMojo() - Constructor for class org.tentackle.maven.plugin.sql.ValidateSqlMojo
- VersionFileFilter - Interface in org.tentackle.maven.plugin.sql
-
Filters migration hint files according to their version.
The default implementation isSemanticVersionFileFilter.
W
- warnIfDeferredNotSupported(Backend, Collection, Collection) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Warns once if the model uses deferred/deferrable unique indexes or foreign keys but the backend does not support deferring constraint checks.
DDL generation itself already degrades gracefully in that case (falling back to plain, non-deferrable DDL), so this is purely diagnostic. - warnings() - Method in record class org.tentackle.maven.plugin.sql.reveng.RevengModelWriter.Result
-
Returns the value of the
warningsrecord component. - write(Backend, TableMetaData, String, int, String, String, Set) - Static method in class org.tentackle.maven.plugin.sql.reveng.RevengModelWriter
-
Writes the model source for a single table.
- writeModelIntroComment(BackendInfo, String) - Method in class org.tentackle.maven.plugin.sql.AbstractSqlMojo
-
Writes the intro for a model to the SQL file.
All Classes and Interfaces|All Packages|Serialized Form