diff --git a/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java b/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java index 6e83ba24af..7cdbadb9d2 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java @@ -140,6 +140,11 @@ public class StandardTableExporter implements Exporter { applyTableCheck( table, buf ); buf.append( ')' ); + + if ( table.getComment() != null ) { + buf.append( dialect.getTableComment( table.getComment() ) ); + } + applyTableTypeString( buf ); List sqlStrings = new ArrayList();