All Classes and Interfaces
Class
Description
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 default
Provides the shared configuration: model selection, backend selection, name checks, and the diagnostic dumps.
The default
AbstractSqlMojo.executeImpl() processes the model files once per backend returned by
AbstractSqlMojo.getBackendInfosToExecute() and dumps the model and bundles afterward, if configured.Maven parameter to create a
BackendInfo.Maps a database column's JDBC type to a Tentackle model attribute type declaration.
The result of mapping a column to a model attribute type.
Generates an SQL script to create the database tables according to the model.
The script contains, in this order: the
The script contains, in this order: the
CreateSqlMojo.prependFilesets, the classpath model if
CreateSqlMojo.prependModelFromClassPath, the schemas, tables and indexes per entity, the foreign keys,
the classpath model if CreateSqlMojo.appendModelFromClassPath, the CreateSqlMojo.sequences, and finally the
CreateSqlMojo.appendFilesets.Determines the database version in an application-specific way.
The implementing class must provide a no-args constructor.
The implementing class must provide a no-args constructor.
Renders the model as a set of cross-linked HTML or Markdown pages, one per entity, plus an index page.
Unlike the
Unlike the
ModelComment wurblet'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.Display help information on tentackle-sql-maven-plugin.
Call
Call
mvn tentackle-sql:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.Renders a migration file generated as a FreeMarker template into the final SQL file.
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 by
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 by
MigrationHints.Holds the template model for the migration sql generator.
Migration hints.
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 by
tentackle-wizard:pdo's -DbatchDir batch mode.The result of writing one table.
Reverse-engineers tables of an existing database into Tentackle model source files.
Runs an SQL script against every configured connectable backend.
The statements are executed in autocommit mode, i.e. without a transaction.
The statements are executed in autocommit mode, i.e. without a transaction.
Default semantic version filter.
Interprets the name of the directory holding a hint file as a
Interprets the name of the directory holding a hint file as a
major.minor.hotfix version
(dots or underscores, with an optional suffix like -SNAPSHOT that is ignored).Parameter to create a sequence.
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).
Validates the database against the model.
Same as the
Alternative to the
Same as the
migrate goal, but the build fails if anything needs to be migrated.Alternative to the
validate configuration option of the migrate goal.Filters migration hint files according to their version.
The default implementation is
The default implementation is
SemanticVersionFileFilter.