Skip to content

Commit

Permalink
HHH-14064 - Fix documentation for schema-generation
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-v authored and dreab8 committed Jun 9, 2020
1 parent 5963dc7 commit 180656e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -832,7 +832,7 @@ See https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibern
+
If no value is specified, a default is assumed as follows:
+
* if source scripts are specified (per `javax.persistence.schema-generation.create-script-source`), then the `script` option is assumed
* if source scripts are specified (per `javax.persistence.schema-generation.drop-script-source`), then the `script` option is assumed
* otherwise, `metadata` is assumed

`*javax.persistence.schema-generation.create-script-source*`::
Expand Down
Expand Up @@ -34,15 +34,15 @@ public enum SourceType {
*/
SCRIPT( "script" ),
/**
* "metadata-then-scripts" - Both the O/RM metadata and external DDL scripts are used as sources for generation,
* "metadata-then-script" - Both the O/RM metadata and external DDL scripts are used as sources for generation,
* with the O/RM metadata being applied first.
*
* @see #METADATA
* @see #SCRIPT
*/
METADATA_THEN_SCRIPT( "metadata-then-script" ),
/**
* "scripts-then-metadata" - Both the O/RM metadata and external DDL scripts are used as sources for generation,
* "script-then-metadata" - Both the O/RM metadata and external DDL scripts are used as sources for generation,
* with the commands from the external DDL script(s) being applied first
*
* @see #SCRIPT
Expand Down

0 comments on commit 180656e

Please sign in to comment.