Full name:
org.hibernate:hibernate-tools-maven-plugin:5.3.5-SNAPSHOT:hbm2ddl
Description:
See https://docs.jboss.org/tools/latest/en/hibernatetools/html_single/#d0e4651
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<createCollectionForForeignKey> | boolean | - | If true, a collection will be mapped for each foreignkey. Default value is: true. |
<createManyToOneForForeignKey> | boolean | - | If true, a many-to-one association will be created for each
foreignkey found. Default value is: true. |
<delimiter> | String | - | Set the end of statement delimiter. Default value is: ;. |
<detectManyToMany> | boolean | - | If true, tables which are pure many-to-many link tables will be
mapped as such. A pure many-to-many table is one which primary-key
contains exactly two foreign-keys pointing to other entity tables
and has no other columns. Default value is: true. |
<detectOneToOne> | boolean | - | If true, a one-to-one association will be created for each
foreignkey found. Default value is: true. |
<detectOptimisticLock> | boolean | - | If true, columns named VERSION or TIMESTAMP with appropriate types
will be mapped with the appropriate optimistic locking
corresponding to <version> or <timestamp>. Default value is: true. |
<format> | boolean | - | Should we format the sql strings? Default value is: true. |
<haltOnError> | boolean | - | Should we stop once an error occurs? Default value is: true. |
<outputDirectory> | File | - | The directory into which the DDLs will be generated. Default value is: ${project.build.directory}/generated-resources/. |
<outputFileName> | String | - | The default filename of the generated DDL script. Default value is: schema.ddl. |
<packageName> | String | - | The default package name to use when mappings for classes are
created. |
<propertyFile> | File | - | The name of a property file, e.g. hibernate.properties. Default value is: ${project.basedir}/src/main/hibernate/hibernate.properties. |
<revengFile> | File | - | The name of a property file, e.g. hibernate.properties. |
<revengStrategy> | String | - | The class name of the reverse engineering strategy to use. Extend
the DefaultReverseEngineeringStrategy and override the
corresponding methods, e.g. to adapt the generate class names or to
provide custom type mappings. Default value is: org.hibernate.cfg.reveng.DefaultReverseEngineeringStrategy. |
<schemaExportAction> | SchemaExport$Action | - | The DDLs statements to create.
Default value is: CREATE. |
<targetTypes> | Set | - | The type of output to produce.
Default value is: SCRIPT. |